From 6bb7746e92326abe6668d52b41f91776fbf2953b Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Mon, 12 Sep 2016 17:25:54 +0100
Subject: Update to 1.003007

- New upstream release 1.003007
  - Bump prereq on JSON::PP, to ensure we get the fix for parsing utf8-encoded
    values
  - We now always upgrade JSON::XS if it is installed and below version 3.0,
    due to changes in handling booleans
  - Remove test dependency on Test::Without::Module (CPAN RT#115394)
- Simplify find command using -delete
---
 perl-JSON-MaybeXS.spec | 25 ++++++++++++++++++-------
 sources                |  2 +-
 2 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/perl-JSON-MaybeXS.spec b/perl-JSON-MaybeXS.spec
index e5595bd..260c2fe 100644
--- a/perl-JSON-MaybeXS.spec
+++ b/perl-JSON-MaybeXS.spec
@@ -8,13 +8,16 @@
 
 Name:          perl-JSON-MaybeXS
 Summary:       Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP
-Version:       1.003005
-Release:       5%{?dist}
+Version:       1.003007
+Release:       1%{?dist}
 License:       GPL+ or Artistic
 URL:           http://search.cpan.org/dist/JSON-MaybeXS/
 Source0:       
http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/JSON-MaybeXS-%{version}.tar.gz
 BuildArch:     noarch
 # Module Build
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
 BuildRequires: perl
 BuildRequires: perl-generators
 BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
@@ -29,12 +32,11 @@ BuildRequires:      perl(Exporter)
 BuildRequires: perl(Scalar::Util)
 BuildRequires: perl(strict)
 BuildRequires: perl(warnings)
-# Test Suite (wants JSON::PP ≥ 2.27202 really but EL-6 doesn't have that)
+# Test Suite
 BuildRequires: perl(if)
-BuildRequires: perl(JSON::PP)
-BuildRequires: perl(JSON::XS)
+BuildRequires: perl(JSON::PP) >= 2.27300
+BuildRequires: perl(JSON::XS) >= 3.0
 BuildRequires: perl(Test::More) >= 0.88
-BuildRequires: perl(Test::Without::Module) >= 0.17
 # Runtime
 Requires:      perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:      perl(Cpanel::JSON::XS) >= 2.3310
@@ -62,7 +64,7 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name .packlist -delete
 %{_fixperms} %{buildroot}
 
 %check
@@ -74,6 +76,15 @@ make test
 %{_mandir}/man3/JSON::MaybeXS.3*
 
 %changelog
+* Mon Sep 12 2016 Paul Howarth <p...@city-fan.org> - 1.003007-1
+- Update to 1.003007
+  - Bump prereq on JSON::PP, to ensure we get the fix for parsing utf8-encoded
+    values
+  - We now always upgrade JSON::XS if it is installed and below version 3.0,
+    due to changes in handling booleans
+  - Remove test dependency on Test::Without::Module (CPAN RT#115394)
+- Simplify find command using -delete
+
 * Sun May 15 2016 Jitka Plesnikova <jples...@redhat.com> - 1.003005-5
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index 93e0aba..b33aa40 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-653c088177982f8ac4e6b1697c2c94f4  JSON-MaybeXS-1.003005.tar.gz
+576cdbd25bb10331c995cca870584be2  JSON-MaybeXS-1.003007.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-JSON-MaybeXS.git/commit/?h=f23&id=6bb7746e92326abe6668d52b41f91776fbf2953b
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to