8
0
forked from pool/perl-JSON-Any
Stephan Kulow
2013-11-26 09:08:39 +00:00
committed by Git OBS Bridge
parent c6a96d7573
commit b262e3b8b1
4 changed files with 36 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40fcace8ef117cd98f1369237465b2f28331a8ae83558751705e63678b6f6a60
size 19612

3
JSON-Any-1.32.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3989c07fd74ece8e98d40370550c12d62885b3e62f0ac023f4dac3cfb0aac1ed
size 26783

View File

@@ -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 Fri Jul 26 05:42:06 UTC 2013 - coolo@suse.com

View File

@@ -17,7 +17,7 @@
Name: perl-JSON-Any Name: perl-JSON-Any
Version: 1.30 Version: 1.32
Release: 0 Release: 0
%define cpan_name JSON-Any %define cpan_name JSON-Any
Summary: Wrapper Class for the various JSON classes. Summary: Wrapper Class for the various JSON classes.
@@ -29,13 +29,14 @@ BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
Requires: perl BuildRequires: perl(Test::Requires)
Requires: perl-JSON BuildRequires: perl(Test::Without::Module) >= 0.17
Requires: perl-YAML-Syck #BuildRequires: perl(Devel::StringInfo)
BuildRequires: perl(JSON) #BuildRequires: perl(Dist::Zilla::Plugin::MakeMaker::Awesome)
BuildRequires: perl(JSON::XS) #BuildRequires: perl(JSON)
Requires: perl(JSON) #BuildRequires: perl(JSON::XS)
Requires: perl(JSON::XS) #BuildRequires: perl(Moose)
#BuildRequires: perl(namespace::autoclean)
%{perl_requires} %{perl_requires}
%description %description
@@ -59,6 +60,6 @@ find . -type f -print0 | xargs -0 chmod 644
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc Changes LICENSE README weaver.ini %doc CHANGES LICENSE README weaver.ini xt
%changelog %changelog