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
This commit is contained in:
parent
bbcba1f0df
commit
af33733554
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
||||
JSON-2.17.tar.gz
|
||||
/JSON-2.27.tar.gz
|
||||
/JSON-2.50.tar.gz
|
||||
|
8
auto.ini
8
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
|
||||
|
||||
|
@ -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@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@gmail.com> 2.27-1
|
||||
- update to latest upstream version
|
||||
- clean up spec for modern rpmbuild
|
||||
|
Loading…
Reference in New Issue
Block a user