diff --git a/.gitignore b/.gitignore index 5875881..2578859 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /Test-Needs-0.002004.tar.gz /Test-Needs-0.002005.tar.gz /Test-Needs-0.002006.tar.gz +/Test-Needs-0.002009.tar.gz diff --git a/perl-Test-Needs.spec b/perl-Test-Needs.spec index 768650c..d255f3b 100644 --- a/perl-Test-Needs.spec +++ b/perl-Test-Needs.spec @@ -1,6 +1,6 @@ Name: perl-Test-Needs -Version: 0.002006 -Release: 8%{?dist} +Version: 0.002009 +Release: 1%{?dist} Summary: Skip tests when modules not available License: GPL+ or Artistic @@ -22,7 +22,7 @@ BuildRequires: perl(strict) BuildRequires: perl(version) BuildRequires: perl(warnings) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version)) %{?perl_default_filter} @@ -36,15 +36,15 @@ to compile will exit with an error rather than skip. %setup -q -n Test-Needs-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 -make %{?_smp_mflags} +/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT +%{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check -make test +%{make_build} test %files %doc Changes README @@ -52,6 +52,13 @@ make test %{_mandir}/man3/Test* %changelog +* Sun Jun 06 2021 Emmanuel Seyman - 0.002009-1 +- Update to 0.002009 +- Use %%{make_install} instead of "make pure_install" +- Use %%{make_build} instead of make +- Replace %%{__perl} with /usr/bin/perl +- Pass NO_PERLLOCAL to Makefile.PL + * Fri May 21 2021 Jitka Plesnikova - 0.002006-8 - Perl 5.34 rebuild diff --git a/sources b/sources index 8d1c39a..8bffbe3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Test-Needs-0.002006.tar.gz) = d0c1c527f486250a5c1e4b6e34e4ddcb1e7ab9233f9535b877cc36c8577592be28bf5f78567f45ec0388b276333742d1d15d7841827b64a8d170f475bd4488b7 +SHA512 (Test-Needs-0.002009.tar.gz) = 758f22ca9b024f7d3252ff575ae84453e64f4ef4e18d3233cdaa3b81d9212cf48e41fde529047e7355678d5e53345bd51210a45dd9545c3bf8ffe16f96a9500d