0.92 bump in order to dual-live with perl 5.22

This commit is contained in:
Petr Písař 2015-05-06 10:14:47 +02:00
parent 85f95bf2ee
commit 9663e2a99f
3 changed files with 53 additions and 4 deletions

2
.rpmlint Normal file
View File

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error .* Util");

View File

@ -0,0 +1,40 @@
From ae5f5addc848a6e80707f625db58cbb9a633aea7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Wed, 6 May 2015 10:10:46 +0200
Subject: [PATCH] Upgrade to 0.92
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
lib/Filter/Simple.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/Filter/Simple.pm b/lib/Filter/Simple.pm
index 4b15e55..8212919 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.91';
+$VERSION = '0.92';
use Filter::Util::Call;
use Carp;
@@ -119,8 +119,8 @@ sub gen_std_filter_for {
}
if ($type =~ /^code/) {
my $count = 0;
- local $placeholder = qr/\Q$;\E(\C{4})\Q$;\E/;
- my $extractor = qr/\Q$;\E(\C{4})\Q$;\E/;
+ local $placeholder = qr/\Q$;\E(.{4})\Q$;\E/s;
+ my $extractor = qr/\Q$;\E(.{4})\Q$;\E/s;
$_ = join "",
map { ref $_ ? $;.pack('N',$count++).$; : $_ }
@components;
--
2.1.0

View File

@ -1,11 +1,14 @@
%global base_version 0.91
Name: perl-Filter-Simple
Version: 0.91
Release: 340%{?dist}
Version: 0.92
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-%{version}.tar.gz
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
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
@ -31,7 +34,8 @@ The Filter::Simple Perl module provides a simplified interface to
Filter::Util::Call; one that is sufficient for most common cases.
%prep
%setup -q -n Filter-Simple-%{version}
%setup -q -n Filter-Simple-%{base_version}
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@ -51,6 +55,9 @@ make test
%{_mandir}/man3/*
%changelog
* Wed May 06 2015 Petr Pisar <ppisar@redhat.com> - 0.92-1
- 0.92 bump in order to dual-live with perl 5.22
* Tue Nov 18 2014 Petr Pisar <ppisar@redhat.com> - 0.91-340
- Increase release number to supersede perl's sub-package