From 1bf997b60569612acf0a7ad57f19f0d248880101 Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Sat, 27 Feb 2016 20:20:47 +0000
Subject: Update to 3.0212
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- New upstream release 3.0212
  - Merge with JSON-XS-3.02:
    - docs: add some INTEROP, stricter nonref RFC 7159 and TAGGED VALUE
      SYNTAX AND STANDARD JSON EN/DECODERS paragraphs
    - Use 7159 nonref detection from JSON-XS: json_nonref()
    - Add some SAVESTACK_POS calls
    - Add -f cbor decode option (via CBOR::XS) to cpanel_json_xs
  - Fixed many spelling errors in the new docs
  - Fixed errors with threaded perls
  - Improved code quality in new merged code and fixed new warnings found with
    gcc-5
  - Add -f and -t yaml-xs and yaml-syck options to cpanel_json_xs
- Soften optional script dependencies to Suggests: if we have rpm ≥ 4.12
---
 perl-Cpanel-JSON-XS.spec | 40 ++++++++++++++++++++++++++++++++++++++--
 sources                  |  2 +-
 2 files changed, 39 insertions(+), 3 deletions(-)

diff --git a/perl-Cpanel-JSON-XS.spec b/perl-Cpanel-JSON-XS.spec
index 461be63..2af5986 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.0211
-Release:       2%{?dist}
+Version:       3.0212
+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
@@ -21,10 +21,15 @@ BuildRequires:      perl(Exporter)
 BuildRequires: perl(overload)
 BuildRequires: perl(XSLoader)
 # Script Runtime
+%if 0%{?fedora} > 22 || 0%{?rhel} > 7
+BuildRequires: perl(CBOR::XS)
+%endif
 BuildRequires: perl(Compress::LZF)
 BuildRequires: perl(Convert::Bencode)
 BuildRequires: perl(Data::Dump)
 BuildRequires: perl(YAML)
+BuildRequires: perl(YAML::Syck)
+BuildRequires: perl(YAML::XS)
 # Test Suite
 BuildRequires: perl(B)
 BuildRequires: perl(constant)
@@ -78,10 +83,26 @@ BuildRequires:      perl(Text::CSV_XS)
 # Runtime
 Requires:      perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:      perl(Carp)
+%if 0%{?fedora} > 22 || 0%{?rhel} > 7
+Suggests:      perl(CBOR::XS)
+%endif
+%if 0%{?fedora} > 20 || 0%{?rhel} > 7
+Suggests:      perl(Compress::LZF)
+Suggests:      perl(Convert::Bencode)
+Suggests:      perl(Data::Dump)
+Suggests:      perl(Data::Dumper)
+Suggests:      perl(YAML)
+Suggests:      perl(YAML::Syck)
+Suggests:      perl(YAML::XS)
+%else
 Requires:      perl(Compress::LZF)
 Requires:      perl(Convert::Bencode)
 Requires:      perl(Data::Dump)
+Requires:      perl(Data::Dumper)
 Requires:      perl(YAML)
+Requires:      perl(YAML::Syck)
+Requires:      perl(YAML::XS)
+%endif
 
 # Avoid unwanted provides and dependencies
 %{?perl_default_filter}
@@ -128,6 +149,21 @@ make test %{!?perl_bootstrap:AUTHOR_TESTING=1}
 %{_mandir}/man3/Cpanel::JSON::XS::Boolean.3*
 
 %changelog
+* Sat Feb 27 2016 Paul Howarth <[email protected]> - 3.0212-1
+- Update to 3.0212
+  - Merge with JSON-XS-3.02:
+    - docs: add some INTEROP, stricter nonref RFC 7159 and TAGGED VALUE
+      SYNTAX AND STANDARD JSON EN/DECODERS paragraphs
+    - Use 7159 nonref detection from JSON-XS: json_nonref()
+    - Add some SAVESTACK_POS calls
+    - Add -f cbor decode option (via CBOR::XS) to cpanel_json_xs
+  - Fixed many spelling errors in the new docs
+  - Fixed errors with threaded perls
+  - Improved code quality in new merged code and fixed new warnings found with
+    gcc-5
+  - Add -f and -t yaml-xs and yaml-syck options to cpanel_json_xs
+- Soften optional script dependencies to Suggests: if we have rpm ≥ 4.12
+
 * Thu Feb 04 2016 Fedora Release Engineering <[email protected]> - 
3.0211-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
diff --git a/sources b/sources
index 4b598b4..30a3442 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-402b19252de229c2227cc9d38e437d40  Cpanel-JSON-XS-3.0211.tar.gz
+75982c59e74b9322420c9f6dddd3ab43  Cpanel-JSON-XS-3.0212.tar.gz
-- 
cgit v0.12


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

Reply via email to