From b262e3b8b18cb25b8ceada8ee617c371e2eeebf91ce6462c96f730a47b7655d2 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 26 Nov 2013 09:08:39 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-Any?expand=0&rev=13 --- JSON-Any-1.30.tar.gz | 3 --- JSON-Any-1.32.tar.gz | 3 +++ perl-JSON-Any.changes | 23 +++++++++++++++++++++++ perl-JSON-Any.spec | 19 ++++++++++--------- 4 files changed, 36 insertions(+), 12 deletions(-) delete mode 100644 JSON-Any-1.30.tar.gz create mode 100644 JSON-Any-1.32.tar.gz diff --git a/JSON-Any-1.30.tar.gz b/JSON-Any-1.30.tar.gz deleted file mode 100644 index 55c8f32..0000000 --- a/JSON-Any-1.30.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:40fcace8ef117cd98f1369237465b2f28331a8ae83558751705e63678b6f6a60 -size 19612 diff --git a/JSON-Any-1.32.tar.gz b/JSON-Any-1.32.tar.gz new file mode 100644 index 0000000..b7e3e3b --- /dev/null +++ b/JSON-Any-1.32.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3989c07fd74ece8e98d40370550c12d62885b3e62f0ac023f4dac3cfb0aac1ed +size 26783 diff --git a/perl-JSON-Any.changes b/perl-JSON-Any.changes index f555744..344a6bc 100644 --- a/perl-JSON-Any.changes +++ b/perl-JSON-Any.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Tue Nov 26 07:34:04 UTC 2013 - coolo@suse.com + +- updated to 1.32 + Include dep Test::Requires in dist.ini + bump minimum version requirement for JSON.pm + + fix the tests to properly exclude JSON::XS + + A bug came up where JSON::XS and JSON.pm had incompatible revisions + but installed just fine. This was a problem because JSON.pm will + silently load JSON::XS in the background and caused explosions. + + We now try to exclude JSON::XS except in the case we're actually + testing it directly. + + Also we've removed some of the tests for JSON::Syck as it's been + deprecated. We also add in tests for Cpanel::JSON::XS which got + missed when it was added as a choice. + + JSON::XS 3.x is incompatible with JSON.pm < 2.90 in the exact way + that JSON::Any uses things in the test suite. + ------------------------------------------------------------------- Fri Jul 26 05:42:06 UTC 2013 - coolo@suse.com diff --git a/perl-JSON-Any.spec b/perl-JSON-Any.spec index c1d3988..12e23a8 100644 --- a/perl-JSON-Any.spec +++ b/perl-JSON-Any.spec @@ -17,7 +17,7 @@ Name: perl-JSON-Any -Version: 1.30 +Version: 1.32 Release: 0 %define cpan_name JSON-Any Summary: Wrapper Class for the various JSON classes. @@ -29,13 +29,14 @@ BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -Requires: perl -Requires: perl-JSON -Requires: perl-YAML-Syck -BuildRequires: perl(JSON) -BuildRequires: perl(JSON::XS) -Requires: perl(JSON) -Requires: perl(JSON::XS) +BuildRequires: perl(Test::Requires) +BuildRequires: perl(Test::Without::Module) >= 0.17 +#BuildRequires: perl(Devel::StringInfo) +#BuildRequires: perl(Dist::Zilla::Plugin::MakeMaker::Awesome) +#BuildRequires: perl(JSON) +#BuildRequires: perl(JSON::XS) +#BuildRequires: perl(Moose) +#BuildRequires: perl(namespace::autoclean) %{perl_requires} %description @@ -59,6 +60,6 @@ find . -type f -print0 | xargs -0 chmod 644 %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes LICENSE README weaver.ini +%doc CHANGES LICENSE README weaver.ini xt %changelog