From 9c947015bbe6d679bb019690967d573461168fe1 Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Fri, 3 Jun 2016 14:24:53 +0100
Subject: Update to 3.0214
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- New upstream release 3.0214
  - Preserve numbers as numbers, enforce an added .0; also note that 42+"bar"
    will result > 5.10 in numbers, not integers, ⇒ 42.0
  - 5.6 compilation fixes
  - Add yaml-tiny formats to cpanel_json_xs
  - Remove author-only Pod::Usage dependency
  - Fix an off-by-one IV_MIN -> NV overflow in decode_json (GH#67)
  - Avoid encode_sv SEGV with -Dusequadmath (GH#62)
  - Fix quadmath NV stringification
- Simplify find commands using -empty and -delete
- BR: perl-generators where available
---
 perl-Cpanel-JSON-XS.spec | 27 +++++++++++++++++++++++----
 sources                  |  2 +-
 2 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/perl-Cpanel-JSON-XS.spec b/perl-Cpanel-JSON-XS.spec
index e484b08..65d67fb 100644
--- a/perl-Cpanel-JSON-XS.spec
+++ b/perl-Cpanel-JSON-XS.spec
@@ -1,7 +1,7 @@
 Name:          perl-Cpanel-JSON-XS
 Summary:       JSON::XS for Cpanel, fast and correct serializing
-Version:       3.0213
-Release:       3%{?dist}
+Version:       3.0214
+Release:       1%{?dist}
 License:       GPL+ or Artistic
 URL:           http://search.cpan.org/dist/Cpanel-JSON-XS/
 Source0:       
http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-%{version}.tar.gz
@@ -13,6 +13,9 @@ BuildRequires:        gcc
 BuildRequires: make
 BuildRequires: perl
 BuildRequires: perl-devel
+%if 0%{?fedora} > 20 || 0%{?rhel} > 7
+BuildRequires: perl-generators
+%endif
 BuildRequires: perl(Config)
 BuildRequires: perl(ExtUtils::MakeMaker)
 # Module Runtime
@@ -26,6 +29,7 @@ BuildRequires:        perl(CBOR::XS)
 %endif
 BuildRequires: perl(Compress::LZF)
 BuildRequires: perl(Convert::Bencode)
+BuildRequires: perl(CPAN::Meta::YAML)
 BuildRequires: perl(Data::Dump)
 BuildRequires: perl(YAML)
 BuildRequires: perl(YAML::Syck)
@@ -89,6 +93,7 @@ Suggests:     perl(CBOR::XS)
 %if 0%{?fedora} > 20 || 0%{?rhel} > 7
 Suggests:      perl(Compress::LZF)
 Suggests:      perl(Convert::Bencode)
+Suggests:      perl(CPAN::Meta::YAML)
 Suggests:      perl(Data::Dump)
 Suggests:      perl(Data::Dumper)
 Suggests:      perl(YAML)
@@ -97,6 +102,7 @@ Suggests:    perl(YAML::XS)
 %else
 Requires:      perl(Compress::LZF)
 Requires:      perl(Convert::Bencode)
+Requires:      perl(CPAN::Meta::YAML)
 Requires:      perl(Data::Dump)
 Requires:      perl(Data::Dumper)
 Requires:      perl(YAML)
@@ -127,8 +133,8 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find %{buildroot} -type f -name .packlist -delete
+find %{buildroot} -type f -name '*.bs' -empty -delete
 %{_fixperms} %{buildroot}
 
 %check
@@ -149,6 +155,19 @@ make test %{!?perl_bootstrap:AUTHOR_TESTING=1}
 %{_mandir}/man3/Cpanel::JSON::XS::Boolean.3*
 
 %changelog
+* Fri Jun  3 2016 Paul Howarth <[email protected]> - 3.0214-1
+- Update to 3.0214
+  - Preserve numbers as numbers, enforce an added .0; also note that 42+"bar"
+    will result > 5.10 in numbers, not integers, ⇒ 42.0
+  - 5.6 compilation fixes
+  - Add yaml-tiny formats to cpanel_json_xs
+  - Remove author-only Pod::Usage dependency
+  - Fix an off-by-one IV_MIN -> NV overflow in decode_json (GH#67)
+  - Avoid encode_sv SEGV with -Dusequadmath (GH#62)
+  - Fix quadmath NV stringification
+- Simplify find commands using -empty and -delete
+- BR: perl-generators where available
+
 * Wed May 18 2016 Jitka Plesnikova <[email protected]> - 3.0213-3
 - Perl 5.24 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index 377468e..29fb11d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0c6a63e91087558b9c19f872e949d942  Cpanel-JSON-XS-3.0213.tar.gz
+c4ed30302be2f7993f6f37e08818194d  Cpanel-JSON-XS-3.0214.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Cpanel-JSON-XS.git/commit/?h=master&id=9c947015bbe6d679bb019690967d573461168fe1
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to