From 1e036c86a7c4117ac52483b7da6ecb24d2b28948 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Apr 21 2021 14:59:22 +0000 Subject: 5.20210420 bump --- diff --git a/.gitignore b/.gitignore index 55e0692..b1e4bf5 100644 --- a/.gitignore +++ b/.gitignore @@ -141,3 +141,4 @@ /CPAN-Perl-Releases-5.20210123.tar.gz /CPAN-Perl-Releases-5.20210220.tar.gz /CPAN-Perl-Releases-5.20210320.tar.gz +/CPAN-Perl-Releases-5.20210420.tar.gz diff --git a/perl-CPAN-Perl-Releases.spec b/perl-CPAN-Perl-Releases.spec index 251f97f..a1f8dbe 100644 --- a/perl-CPAN-Perl-Releases.spec +++ b/perl-CPAN-Perl-Releases.spec @@ -1,5 +1,5 @@ Name: perl-CPAN-Perl-Releases -Version: 5.20210320 +Version: 5.20210420 Release: 1%{?dist} Summary: Mapping Perl releases on CPAN to the location of the tarballs License: GPL+ or Artistic @@ -8,6 +8,7 @@ Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/CPAN-Perl-Relea BuildArch: noarch # Build BuildRequires: coreutils +BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter @@ -46,32 +47,29 @@ with "%{_libexecdir}/%{name}/test". # Help file to recognise the Perl scripts and normalize shebangs for F in `find t -name *.t`; do - perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F" + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" chmod +x "$F" done -# Remove author tests -rm t/author-pod-coverage.t t/author-pod-syntax.t -perl -i -ne 'print $_ unless m{^t/author-pod-coverage\.t}' MANIFEST -perl -i -ne 'print $_ unless m{^t/author-pod-syntax\.t}' MANIFEST - - %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} +%{_fixperms} %{buildroot}/* + # Install tests mkdir -p %{buildroot}/%{_libexecdir}/%{name} cp -a t %{buildroot}/%{_libexecdir}/%{name} +rm -f %{buildroot}/%{_libexecdir}/%{name}/t/author-pod-coverage.t +rm -f %{buildroot}/%{_libexecdir}/%{name}/t/author-pod-syntax.t cat > %{buildroot}/%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh unset AUTHOR_TESTING cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x %{buildroot}/%{_libexecdir}/%{name}/test -%{_fixperms} %{buildroot}/* %check unset AUTHOR_TESTING @@ -88,6 +86,9 @@ make test %{_libexecdir}/%{name} %changelog +* Wed Apr 21 2021 Jitka Plesnikova - 5.20210420-1 +- 5.20210420 bump + * Sun Mar 21 2021 Jitka Plesnikova - 5.20210320-1 - 5.20210320 bump diff --git a/sources b/sources index a18ffd1..7f883b6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (CPAN-Perl-Releases-5.20210320.tar.gz) = 2e637949930de9f97648e7e9dd4e4ed90dcf87cb594b8244ad3dfda247f8f093883b10e6b4fa5376b83f980f1b39855788f052e5496a8e54fe50e4880d1c177e +SHA512 (CPAN-Perl-Releases-5.20210420.tar.gz) = 14dac283c46b9fc59939095abd5df2ed606f23823df0a23b06f804974e407ecaa6d0d2143664116b7e0a4990f3dfbc6d901acb02b2353b503ffc46b1a8cc41dd