ppisar pushed to perl-Filter-Simple (master). "0.92 bump in order to dual-live with perl 5.22"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed May 6 08:18:30 UTC 2015


>From 9663e2a99fd9250d730a338a0be1097e249875e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Wed, 6 May 2015 10:14:47 +0200
Subject: 0.92 bump in order to dual-live with perl 5.22


diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..cec8f88
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* Util");
diff --git a/Filter-Simple-0.91-Upgrade-to-0.92.patch b/Filter-Simple-0.91-Upgrade-to-0.92.patch
new file mode 100644
index 0000000..6e8b04f
--- /dev/null
+++ b/Filter-Simple-0.91-Upgrade-to-0.92.patch
@@ -0,0 +1,40 @@
+From ae5f5addc848a6e80707f625db58cbb9a633aea7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at 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 at 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
+
diff --git a/perl-Filter-Simple.spec b/perl-Filter-Simple.spec
index 026486e..4f02a05 100644
--- a/perl-Filter-Simple.spec
+++ b/perl-Filter-Simple.spec
@@ -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 at redhat.com> - 0.92-1
+- 0.92 bump in order to dual-live with perl 5.22
+
 * Tue Nov 18 2014 Petr Pisar <ppisar at redhat.com> - 0.91-340
 - Increase release number to supersede perl's sub-package
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Filter-Simple.git/commit/?h=master&id=9663e2a99fd9250d730a338a0be1097e249875e7


More information about the scm-commits mailing list