From 6eaa8f1db48c73d30e06e6d1c7b0feee081cce76 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Sun, 12 Jun 2016 17:51:46 +0100
Subject: Update to 2.13.2

- New upstream release 2.13.2
  - Prevent 'perl5i -e' from segfaulting (GH#269)
  - Fix stat() and lstat() for Perl 5.24 (GH#291)
  - Spelling fixes from Debian (GH#294)
  - "siganture" typo fixes (GH#295)
  - extra_compiler_flags are passed through when building the perl5i executable
  - Kwalitee fixups (GH#289)
  - Now testing against Perl 5.22 (GH#292)
  - Now using JSON::MaybeXS instead of JSON (GH#288)
---
 perl-perl5i.spec                                   | 22 +++++++++++------
 ...-Fix-stat-and-lstat-calls-for-perl-5.23.3.patch | 28 ----------------------
 sources                                            |  2 +-
 3 files changed, 16 insertions(+), 36 deletions(-)
 delete mode 100644 
perl5i-v2.13.1-Fix-stat-and-lstat-calls-for-perl-5.23.3.patch

diff --git a/perl-perl5i.spec b/perl-perl5i.spec
index b627fbe..ff825fa 100644
--- a/perl-perl5i.spec
+++ b/perl-perl5i.spec
@@ -1,13 +1,11 @@
 Name:          perl-perl5i
 Summary:       Fix as much of Perl 5 as possible in one pragma
-Version:       2.13.1
-Release:       6%{?dist}
+Version:       2.13.2
+Release:       1%{?dist}
 License:       GPL+ or Artistic
 Group:         Development/Libraries
 URL:           https://metacpan.org/release/perl5i
 Source0:       
http://cpan.metacpan.org/authors/id/M/MS/MSCHWERN/perl5i-v%{version}.tar.gz
-# Fix stat() and lstat() calls for perl 5.23.3+
-Patch0:         perl5i-v2.13.1-Fix-stat-and-lstat-calls-for-perl-5.23.3.patch
 # Module Build
 BuildRequires: perl
 BuildRequires: perl-generators
@@ -36,7 +34,7 @@ BuildRequires:        perl(Hash::StoredIterator) >= 0.007
 BuildRequires: perl(Import::Into) >= 1.002003
 BuildRequires: perl(IO::Handle)
 BuildRequires: perl(IPC::System::Simple) >= 1.18
-BuildRequires: perl(JSON) >= 2.17
+BuildRequires: perl(JSON::MaybeXS) >= 1.003005
 BuildRequires: perl(List::MoreUtils) >= 0.22
 BuildRequires: perl(Modern::Perl) >= 1.03
 BuildRequires: perl(Module::Load) >= 0.16
@@ -100,7 +98,7 @@ Requires:    perl(Hash::Merge::Simple) >= 0.04
 Requires:      perl(Hash::StoredIterator) >= 0.007
 Requires:      perl(Import::Into) >= 1.002003
 Requires:      perl(IPC::System::Simple) >= 1.18
-Requires:      perl(JSON) >= 2.17
+Requires:      perl(JSON::MaybeXS) >= 1.003005
 Requires:      perl(List::MoreUtils) >= 0.22
 Requires:      perl(Modern::Perl) >= 1.03
 Requires:      perl(Module::Load) >= 0.16
@@ -158,7 +156,6 @@ like a branch you control) and implement it yourself.
 
 %prep
 %setup -q -n perl5i-v%{version}
-%patch0 -p1
 
 %build
 perl Build.PL --installdirs=vendor --optimize="%{optflags}"
@@ -185,6 +182,17 @@ perl Build.PL --installdirs=vendor --optimize="%{optflags}"
 %{_mandir}/man3/perl5ifaq.3*
 
 %changelog
+* Sun Jun 12 2016 Paul Howarth <p...@city-fan.org> - 2.13.2-1
+- Update to 2.13.2
+  - Prevent 'perl5i -e' from segfaulting (GH#269)
+  - Fix stat() and lstat() for Perl 5.24 (GH#291)
+  - Spelling fixes from Debian (GH#294)
+  - "siganture" typo fixes (GH#295)
+  - extra_compiler_flags are passed through when building the perl5i executable
+  - Kwalitee fixups (GH#289)
+  - Now testing against Perl 5.22 (GH#292)
+  - Now using JSON::MaybeXS instead of JSON (GH#288)
+
 * Mon May 16 2016 Jitka Plesnikova <jples...@redhat.com> - 2.13.1-6
 - Perl 5.24 rebuild
 
diff --git a/perl5i-v2.13.1-Fix-stat-and-lstat-calls-for-perl-5.23.3.patch 
b/perl5i-v2.13.1-Fix-stat-and-lstat-calls-for-perl-5.23.3.patch
deleted file mode 100644
index 510e499..0000000
--- a/perl5i-v2.13.1-Fix-stat-and-lstat-calls-for-perl-5.23.3.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 26a254ddaabe2a35d60ff4b9336e522bceb2e5a5 Mon Sep 17 00:00:00 2001
-From: Slaven Rezic <sre...@cpan.org>
-Date: Tue, 22 Mar 2016 00:54:30 +0000
-Subject: [PATCH] fix stat() and lstat() calls for perl 5.23.3+ (#291)
-
----
- lib/perl5i/2.pm | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/lib/perl5i/2.pm b/lib/perl5i/2.pm
-index 961f08d..aa3682c 100644
---- a/lib/perl5i/2.pm
-+++ b/lib/perl5i/2.pm
-@@ -188,12 +188,12 @@ sub perl5i_die {
- 
- # File::stat does not play nice in list context
- sub stat {
--    return CORE::stat(@_) if wantarray;
-+    return CORE::stat($_[0]) if wantarray;
-     return File::stat::stat(@_);
- }
- 
- sub lstat {
--    return CORE::lstat(@_) if wantarray;
-+    return CORE::lstat($_[0]) if wantarray;
-     return File::stat::lstat(@_);
- }
- 
diff --git a/sources b/sources
index 8320317..bbec6bc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c69d503122e7bd242ddbe2fc2c464018  perl5i-v2.13.1.tar.gz
+bc4f646fd66da34df3a5344f99670925  perl5i-v2.13.2.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-perl5i.git/commit/?h=master&id=6eaa8f1db48c73d30e06e6d1c7b0feee081cce76
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to