From f61ea4e2b2ea83dbfbf9cf963669a09979c90152 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Tue, 4 May 2021 10:19:19 +0200 Subject: [PATCH] 0.13 bump --- perl-Crypt-OpenSSL-Guess.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/perl-Crypt-OpenSSL-Guess.spec b/perl-Crypt-OpenSSL-Guess.spec index 727cb10..f30338e 100644 --- a/perl-Crypt-OpenSSL-Guess.spec +++ b/perl-Crypt-OpenSSL-Guess.spec @@ -1,6 +1,6 @@ Name: perl-Crypt-OpenSSL-Guess -Version: 0.12 -Release: 2%{?dist} +Version: 0.13 +Release: 1%{?dist} Summary: Guess OpenSSL include path License: GPL+ or Artistic URL: https://metacpan.org/release/Crypt-OpenSSL-Guess/ @@ -47,7 +47,7 @@ with "%{_libexecdir}/%{name}/test". # Help file to recognise the Perl scripts for F in t/*.t; do - perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' "$F" + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" chmod +x "$F" done @@ -57,6 +57,8 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %install %{make_install} +%{_fixperms} %{buildroot}/* + # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} @@ -65,7 +67,6 @@ cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test -%{_fixperms} $RPM_BUILD_ROOT/* %check export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') @@ -81,6 +82,9 @@ make test %{_libexecdir}/%{name} %changelog +* Tue May 04 2021 Jitka Plesnikova - 0.13-1 +- 0.13 bump + * Tue Mar 09 2021 Jitka Plesnikova - 0.12-2 - Package tests