Author: cweyl Update of /cvs/extras/rpms/perl-JSON-Any/F-12 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24523 Modified Files: perl-JSON-Any.spec sources Log Message: * Tue Feb 23 2010 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.22-1 - update by Fedora::App::MaintainerTools 0.003 - PERL_INSTALL_ROOT => DESTDIR - dropped old BR on perl(JSON) - dropped old BR on perl(JSON::Syck) Index: perl-JSON-Any.spec =================================================================== RCS file: /cvs/extras/rpms/perl-JSON-Any/F-12/perl-JSON-Any.spec,v retrieving revision 1.9 retrieving revision 1.10 diff -u -p -r1.9 -r1.10 --- perl-JSON-Any.spec 11 Aug 2009 07:56:27 -0000 1.9 +++ perl-JSON-Any.spec 2 Mar 2010 17:12:54 -0000 1.10 @@ -1,41 +1,26 @@ Name: perl-JSON-Any -Version: 1.21 -Release: 1%{?dist} Summary: A meta-module to make working with JSON easier +Version: 1.22 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries +Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/JSON-Any-%{version}.tar.gz URL: http://search.cpan.org/dist/JSON-Any/ -Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/JSON-Any-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch -Patch0: with_older_json.patch - -# JSON::XS is fastest, so we require it -Requires: perl(JSON::XS) - -# core BuildRequires: perl(Carp) +BuildRequires: perl(CPAN) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 -# testing +BuildRequires: perl(JSON::XS) >= 1.52 BuildRequires: perl(Test::More) >= 0.42 -BuildRequires: perl(JSON::XS) >= 1.52 -# optional tests -- JSON::Any can handle any of the following to actually do -# the JSON parsing. We use JSON::XS above, as it's both already in Fedora and -# the fastest of the following. As other JSON modules are added to Fedora, -# we'll uncomment the tests below. -BuildRequires: perl(JSON) -#BuildRequires: perl(JSON::DWIM) -#BuildRequires: perl(JSON::PC) -BuildRequires: perl(JSON::Syck) - -### auto-added reqs! Requires: perl(Carp) +Requires: perl(JSON::XS) >= 1.52 -### auto-added brs! -BuildRequires: perl(CPAN) +%{?perl_default_filter} +%{?perl_default_subpackage_tests} %description JSON::Any provides a coherent API to bring together the various JSON modules @@ -43,10 +28,8 @@ currently on CPAN. %prep %setup -q -n JSON-Any-%{version} -%patch0 -p1 find . -type f -exec chmod -c -x {} + -find t/ -type f -exec perl -pi -e 's|^#!perl|#!/usr/bin/perl|' {} + cat Changes | iconv -f ISO-8859-1 -t UTF-8 > Changes.foo mv Changes.foo Changes @@ -58,7 +41,7 @@ make %install rm -rf %{buildroot} -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} + find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; @@ -73,11 +56,20 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc Changes README t/ +%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Tue Feb 23 2010 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.22-1 +- update by Fedora::App::MaintainerTools 0.003 +- PERL_INSTALL_ROOT => DESTDIR +- dropped old BR on perl(JSON) +- dropped old BR on perl(JSON::Syck) + +* Mon Dec 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 1.21-2 +- rebuild against perl 5.10.1 + * Tue Aug 11 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.21-1 - auto-update to 1.21 (by cpan-spec-update 0.01) - altered br on perl(ExtUtils::MakeMaker) (0 => 6.42) Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-JSON-Any/F-12/sources,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- sources 11 Aug 2009 07:56:27 -0000 1.4 +++ sources 2 Mar 2010 17:12:54 -0000 1.5 @@ -1 +1 @@ -3e5d6f943b03c2c0c688be1295719c09 JSON-Any-1.21.tar.gz +c576a6765c310ad36135e2c090eb0be7 JSON-Any-1.22.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel