From 879a8158a49678567587f5ab4400a542b2acc59b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 5 Jun 2019 16:25:25 +0200 Subject: [PATCH] 0.007 bump --- .gitignore | 1 + perl-PPIx-QuoteLike.spec | 23 ++++++++++++++--------- sources | 2 +- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index f5a7ec2..9e7796b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /PPIx-QuoteLike-0.005.tar.gz /PPIx-QuoteLike-0.006.tar.gz +/PPIx-QuoteLike-0.007.tar.gz diff --git a/perl-PPIx-QuoteLike.spec b/perl-PPIx-QuoteLike.spec index 1ee073e..645c7e3 100644 --- a/perl-PPIx-QuoteLike.spec +++ b/perl-PPIx-QuoteLike.spec @@ -2,8 +2,8 @@ %bcond_without perl_PPIx_QuoteLike_enables_PPIx_Regexp Name: perl-PPIx-QuoteLike -Version: 0.006 -Release: 4%{?dist} +Version: 0.007 +Release: 1%{?dist} Summary: Parse Perl string literals and string-literal-like things License: GPL+ or Artistic URL: https://metacpan.org/release/PPIx-QuoteLike @@ -58,17 +58,19 @@ variables for Perl::Critic policies and similar code. %prep %setup -q -n PPIx-QuoteLike-%{version} -# Fix shell bang -perl -MConfig -p -i -e 's{\A#!/usr/bin/env perl\b}{$Config{startperl}}' \ - eg/pqldump -chmod -x eg/pqldump +# Fix shell bang and permissions +for F in eg/{pqldump,variables}; do + perl -MConfig -p -i -e 's{\A#!/usr/bin/env perl\b}{$Config{startperl}}' \ + "$F" + chmod -x "$F" +done %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 -make %{?_smp_mflags} +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 @@ -81,6 +83,9 @@ make test %{_mandir}/man3/* %changelog +* Wed Jun 05 2019 Petr Pisar - 0.007-1 +- 0.007 bump + * Fri May 31 2019 Jitka Plesnikova - 0.006-4 - Perl 5.30 rebuild diff --git a/sources b/sources index 6e2bb12..5c6ccfc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (PPIx-QuoteLike-0.006.tar.gz) = 6ec80ac4df9a80bfd9310b7a5a1fe514dcfaf340de9d88fcece5ecdda9e5a2183408bc4631f546a76f538c7dbb6c4d3827788671fc57cf73d956e18589d09f9f +SHA512 (PPIx-QuoteLike-0.007.tar.gz) = f3d56abebd7237769441b13de4c79744787eb2c4535844557a858bdda9cdedd2c9a8ab9359ef61bb67ec62dae61103753f0dbfac821b0be572038250eab14852