[perl-JSON] Update to 2.50 (#665621)
Paul Howarth
pghmcfc at fedoraproject.org
Thu Jan 27 13:16:12 UTC 2011
commit af33733554274648299c5f2a849946a0cc6ddcac
Author: Paul Howarth <paul at city-fan.org>
Date: Thu Jan 27 12:11:56 2011 +0000
Update to 2.50 (#665621)
- new upstream release 2.50
- JSON::PP split off into separate distribution and replaced with
JSON::backportPP instead for internal use
- BR: perl(Test::Pod)
- drop t/ from %doc as the tests are in the -tests subpackage
- filter private module perl(JSON::backportPP) from requires
- filter private module perl(JSON::backportPP::Boolean) from provides
- filter private module perl(JSON::Backend::PP) from provides
- filter private module perl(JSON::Boolean) from provides
- filter private module perl(JSON::PP) from provides (really JSON::backportPP)
- filter private module perl(JSON::PP::IncrParser) from provides
.gitignore | 3 +--
auto.ini | 8 ++++++--
perl-JSON.spec | 21 ++++++++++++++++++---
sources | 2 +-
4 files changed, 26 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5de2a1a..87c5e3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-JSON-2.17.tar.gz
-/JSON-2.27.tar.gz
+/JSON-2.50.tar.gz
diff --git a/auto.ini b/auto.ini
index 12dcd78..1a85c3f 100644
--- a/auto.ini
+++ b/auto.ini
@@ -3,6 +3,7 @@ perl(CGI)=0
perl(LWP::UserAgent)=0
perl(HTTP::Daemon)=0
perl(Test::More)=0
+perl(Test::Pod)=0
perl(Scalar::Util)=0
[add_requires]
@@ -12,6 +13,9 @@ perl(LWP::UserAgent)=0
perl(HTTP::Daemon)=0
[metadata_filtering]
-; this will be unneeded once perl_default_filter starts filtering dupes
-filter_from_provides=/^perl(JSON::PP)$/d
+; all JSON::PP provides should come from perl-JSON-PP
+; some other provides are private modules for internal use only
+filter_from_provides=/^perl(JSON::\(Backend::PP\|backportPP::Boolean\|Boolean\|PP\|PP::IncrParser\))/d
+; this is a private module for internal use only
+filter_from_requires=/^perl(JSON::backportPP)$/d
diff --git a/perl-JSON.spec b/perl-JSON.spec
index ca4ddea..2a1569a 100644
--- a/perl-JSON.spec
+++ b/perl-JSON.spec
@@ -1,6 +1,6 @@
Name: perl-JSON
Summary: Parse and convert to JSON (JavaScript Object Notation)
-Version: 2.27
+Version: 2.50
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
@@ -15,9 +15,11 @@ BuildRequires: perl(HTTP::Daemon)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod)
-%{?filter_from_provides: %filter_from_provides /^perl(JSON::PP)$/d }
+%{?filter_from_provides: %filter_from_provides /^perl(JSON::\(Backend::PP\|backportPP::Boolean\|Boolean\|PP\|PP::IncrParser\))/d }
+%{?filter_from_requires: %filter_from_requires /^perl(JSON::backportPP)$/d }
%{?perl_default_filter}
%{?perl_default_subpackage_tests}
@@ -50,11 +52,24 @@ make test
%files
%defattr(-,root,root,-)
-%doc Changes README t/
+%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Thu Jan 27 2011 Paul Howarth <paul at city-fan.org> 2.50-1
+- update to 2.50 (#665621)
+ - JSON::PP split off into separate distribution and replaced with
+ JSON::backportPP instead for internal use
+- BR: perl(Test::Pod)
+- drop t/ from %%doc as the tests are in the -tests subpackage
+- filter private module perl(JSON::backportPP) from requires
+- filter private module perl(JSON::backportPP::Boolean) from provides
+- filter private module perl(JSON::Backend::PP) from provides
+- filter private module perl(JSON::Boolean) from provides
+- filter private module perl(JSON::PP) from provides (really JSON::backportPP)
+- filter private module perl(JSON::PP::IncrParser) from provides
+
* Sun Nov 21 2010 Iain Arnell <iarnell at gmail.com> 2.27-1
- update to latest upstream version
- clean up spec for modern rpmbuild
diff --git a/sources b/sources
index a87aa30..9d81801 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5a155c100f9b572bb0cd46d8fb8a3a21 JSON-2.27.tar.gz
+7aa1f17255ec8b074a1e8b18df23d6fb JSON-2.50.tar.gz
More information about the scm-commits
mailing list