From ec083b422cb8c66f1a5313f122fe229aef4eebf3 Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Apr 18 2017 14:22:01 +0000 Subject: 1.08 bump --- diff --git a/.gitignore b/.gitignore index a8bb81d..dba11c3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /Getopt-Lucid-1.05.tar.gz /Getopt-Lucid-1.06.tar.gz /Getopt-Lucid-1.07.tar.gz +/Getopt-Lucid-1.08.tar.gz diff --git a/Getopt-Lucid-1.08-Remove-shellbang-from-examples.patch b/Getopt-Lucid-1.08-Remove-shellbang-from-examples.patch new file mode 100644 index 0000000..cd8bb19 --- /dev/null +++ b/Getopt-Lucid-1.08-Remove-shellbang-from-examples.patch @@ -0,0 +1,27 @@ +From d6ca09c46472181cfc80e749d7c97f9c828d49d7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Tue, 18 Apr 2017 16:18:33 +0200 +Subject: [PATCH] Remove shellbang from examples +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +It uses /usr/bin/env. + +Signed-off-by: Petr Písař +--- + examples/cpanget | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/examples/cpanget b/examples/cpanget +index 886c9a5..30cdc3c 100755 +--- a/examples/cpanget ++++ b/examples/cpanget +@@ -1,4 +1,3 @@ +-#!/usr/bin/env perl + use strict; + use warnings; + +-- +2.7.4 + diff --git a/perl-Getopt-Lucid.spec b/perl-Getopt-Lucid.spec index 1bb559e..93cc5c8 100644 --- a/perl-Getopt-Lucid.spec +++ b/perl-Getopt-Lucid.spec @@ -1,18 +1,18 @@ Name: perl-Getopt-Lucid -Version: 1.07 -Release: 2%{?dist} +Version: 1.08 +Release: 1%{?dist} Summary: Clear, readable syntax for command line processing License: ASL 2.0 -Group: Development/Libraries URL: http://search.cpan.org/dist/Getopt-Lucid/ Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Getopt-Lucid-%{version}.tar.gz +# Do not use /usr/bin/env in example's shellbang +Patch0: Getopt-Lucid-1.08-Remove-shellbang-from-examples.patch BuildArch: noarch BuildRequires: coreutils -BuildRequires: findutils BuildRequires: make BuildRequires: perl BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: @@ -27,6 +27,7 @@ BuildRequires: perl(Storable) >= 2.16 BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exception::Class::TryCatch) >= 1.10 BuildRequires: perl(File::Spec) +BuildRequires: perl(lib) BuildRequires: perl(Test::More) >= 0.62 BuildRequires: perl(vars) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -42,14 +43,15 @@ specification as compared against the more symbolic approach of Getopt::Long. %prep %setup -q -n Getopt-Lucid-%{version} +%patch0 -p1 +chmod -x examples/cpanget %build -perl Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -62,6 +64,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Apr 18 2017 Petr Pisar - 1.08-1 +- 1.08 bump + * Sat Feb 11 2017 Fedora Release Engineering - 1.07-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 3378135..a141cf4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4537736b7ee2b670e2e872f42bbf1cc7 Getopt-Lucid-1.07.tar.gz +SHA512 (Getopt-Lucid-1.08.tar.gz) = 223e67295924525441ab9ea3593843b016e3487c3733629a0c7b9ec37f2958437cc8e5c8dacff187c7573dd5e958834818471c738a42865f6a02342157d7fe63