diff options
Diffstat (limited to 'pkg/rpm')
-rw-r--r-- | pkg/rpm/Makefile.perl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkg/rpm/Makefile.perl b/pkg/rpm/Makefile.perl index b92ea6c7..93b0d0a7 100644 --- a/pkg/rpm/Makefile.perl +++ b/pkg/rpm/Makefile.perl @@ -12,9 +12,14 @@ MODULE_INSTARGS_perl= perl-install MODULE_SOURCES_perl= unit.example-perl-app \ unit.example-perl-config -BUILD_DEPENDS_perl= perl-devel perl-libs +BUILD_DEPENDS_perl= perl-devel perl-libs perl-ExtUtils-Embed BUILD_DEPENDS+= $(BUILD_DEPENDS_perl) +define MODULE_DEFINITIONS_perl +BuildRequires: $(BUILD_DEPENDS_perl) +endef +export MODULE_DEFINITIONS_perl + define MODULE_PREINSTALL_perl %{__mkdir} -p %{buildroot}%{_datadir}/doc/unit-perl/examples/perl-app %{__install} -m 644 -p %{SOURCE100} \ |