From 000a53629d43b3129b6a80452da9db1fd93af67f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org> Date: Thu, 18 May 2017 19:38:31 +0200 Subject: Eliminate inc. BR: perl(inc::Module::Install) (RHBZ#1452129). Modernize spec.
--- perl-prefork.spec | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/perl-prefork.spec b/perl-prefork.spec index 052665d..a5203a6 100644 --- a/perl-prefork.spec +++ b/perl-prefork.spec @@ -1,6 +1,6 @@ Name: perl-prefork Version: 1.04 -Release: 21%{?dist} +Release: 22%{?dist} Summary: Optimized module loading for forking or non-forking processes License: GPL+ or Artistic Group: Development/Libraries @@ -10,6 +10,9 @@ Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/prefork-%{version}.t Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch +BuildRequires: %{__perl} +BuildRequires: %{__make} + BuildRequires: perl-generators BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) @@ -26,6 +29,8 @@ BuildRequires: perl(Test::MinimumVersion) >= 0.007 BuildRequires: perl(Perl::MinimumVersion) >= 1.20 BuildRequires: perl(Test::CPAN::Meta) >= 0.12 +BuildRequires: perl(inc::Module::Install) + %description Optimized module loading for forking or non-forking processes @@ -35,18 +40,19 @@ mode) and to act as a relatively light-weight module loader. %prep %setup -q -n prefork-%{version} +rm -r inc/ %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 -make %{?_smp_mflags} +%{__make} %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check -make test AUTOMATED_TESTING=1 +%{__make} test AUTOMATED_TESTING=1 %files %doc Changes README @@ -55,6 +61,10 @@ make test AUTOMATED_TESTING=1 %{_mandir}/man3/* %changelog +* Thu May 18 2017 Ralf Corsépius <corse...@fedoraproject.org> - 1.04-22 +- Eliminate inc. BR: perl(inc::Module::Install) (RHBZ#1452129). +- Modernize spec. + * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 1.04-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-prefork.git/commit/?h=master&id=000a53629d43b3129b6a80452da9db1fd93af67f _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org