From 7ea403e467f662599452bafbe0377040a2c4f7b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <[email protected]> Date: Thu, 11 May 2017 10:48:59 +0200 Subject: Upgrade to 0.93 as provided in perl-5.25.12
--- Filter-Simple-0.92-Upgrade-to-0.93.patch | 39 ++++++++++++++++++++++++++++++++ perl-Filter-Simple.spec | 17 +++++++++----- 2 files changed, 50 insertions(+), 6 deletions(-) create mode 100644 Filter-Simple-0.92-Upgrade-to-0.93.patch diff --git a/Filter-Simple-0.92-Upgrade-to-0.93.patch b/Filter-Simple-0.92-Upgrade-to-0.93.patch new file mode 100644 index 0000000..db86f2e --- /dev/null +++ b/Filter-Simple-0.92-Upgrade-to-0.93.patch @@ -0,0 +1,39 @@ +From 7d77f251bb8b41132a93c9f6a4bfc8c650316f18 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <[email protected]> +Date: Thu, 11 May 2017 10:45:27 +0200 +Subject: [PATCH] Upgrade to 0.93 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Unbundled from perl-5.25.12. + +Signed-off-by: Petr Písař <[email protected]> +--- + lib/Filter/Simple.pm | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/lib/Filter/Simple.pm b/lib/Filter/Simple.pm +index 8212919..44a5f73 100644 +--- a/lib/Filter/Simple.pm ++++ b/lib/Filter/Simple.pm +@@ -4,7 +4,7 @@ use Text::Balanced ':ALL'; + + use vars qw{ $VERSION @EXPORT }; + +-$VERSION = '0.92'; ++$VERSION = '0.93'; + + use Filter::Util::Call; + use Carp; +@@ -198,6 +198,7 @@ sub gen_filter_import { + if ($terminator{terminator} && + m/$terminator{terminator}/) { + $lastline = $_; ++ $count++; + last; + } + $data .= $_; +-- +2.9.3 + diff --git a/perl-Filter-Simple.spec b/perl-Filter-Simple.spec index 8452937..13e51c9 100644 --- a/perl-Filter-Simple.spec +++ b/perl-Filter-Simple.spec @@ -1,18 +1,20 @@ %global base_version 0.91 Name: perl-Filter-Simple -Version: 0.92 -Release: 366%{?dist} +Version: 0.93 +Release: 1%{?dist} Summary: Simplified Perl source filtering License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/Filter-Simple/ Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Filter-Simple-%{base_version}.tar.gz # Unbundled from perl 5.21.11 Patch0: Filter-Simple-0.91-Upgrade-to-0.92.patch +# Unbunlded from perl 5.25.12 +Patch1: Filter-Simple-0.92-Upgrade-to-0.93.patch BuildArch: noarch +BuildRequires: make BuildRequires: perl BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) # Run-time: BuildRequires: perl(Carp) @@ -37,14 +39,14 @@ Filter::Util::Call; one that is sufficient for most common cases. %prep %setup -q -n Filter-Simple-%{base_version} %patch0 -p1 +%patch1 -p1 %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 @@ -56,6 +58,9 @@ make test %{_mandir}/man3/* %changelog +* Thu May 11 2017 Petr Pisar <[email protected]> - 0.93-1 +- Upgrade to 0.93 as provided in perl-5.25.12 + * Sat Feb 11 2017 Fedora Release Engineering <[email protected]> - 0.92-366 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-Filter-Simple.git/commit/?h=master&id=7ea403e467f662599452bafbe0377040a2c4f7b1 _______________________________________________ perl-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
