Upgrade to 0.93 as provided in perl-5.25.12

This commit is contained in:
Petr Písař 2017-05-11 10:48:59 +02:00
parent ca5e4217e0
commit 7ea403e467
2 changed files with 50 additions and 6 deletions

View File

@ -0,0 +1,39 @@
From 7d77f251bb8b41132a93c9f6a4bfc8c650316f18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
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ř <ppisar@redhat.com>
---
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

View File

@ -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 <ppisar@redhat.com> - 0.93-1
- Upgrade to 0.93 as provided in perl-5.25.12
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.92-366
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild