summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-03-01 23:03:03 +0300
committerAndrei Belov <defan@nginx.com>2018-03-01 23:03:03 +0300
commitd27e100b445fa7c361ec1fa083388a54484c4651 (patch)
tree20bffecb99563c5632315e468bce867170e26a56 /pkg
parent231027e257a4de2decbd4402ba5a28e2bded59e4 (diff)
downloadunit-d27e100b445fa7c361ec1fa083388a54484c4651.tar.gz
unit-d27e100b445fa7c361ec1fa083388a54484c4651.tar.bz2
Packages: perl-ExtUtils-Embed added to unit-perl dependencies on CentOS.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/rpm/Makefile.perl7
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} \