Author: cweyl Update of /cvs/extras/rpms/perl-JSON-XS/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10080 Modified Files: .cvsignore perl-JSON-XS.spec sources Added Files: auto.ini Log Message: * Sat Feb 27 2010 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1:2.27-1 - update by Fedora::App::MaintainerTools 0.004 - PERL_INSTALL_ROOT => DESTDIR - added a new br on perl(common::sense) (version 0) - added a new req on perl(common::sense) (version 0) --- NEW FILE auto.ini --- [add_build_requires] perl(Test::More)=0 Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/perl-JSON-XS/devel/.cvsignore,v retrieving revision 1.10 retrieving revision 1.11 diff -u -p -r1.10 -r1.11 --- .cvsignore 2 Jun 2009 07:02:01 -0000 1.10 +++ .cvsignore 27 Feb 2010 21:38:02 -0000 1.11 @@ -1 +1 @@ -JSON-XS-2.24.tar.gz +JSON-XS-2.27.tar.gz Index: perl-JSON-XS.spec =================================================================== RCS file: /cvs/extras/rpms/perl-JSON-XS/devel/perl-JSON-XS.spec,v retrieving revision 1.18 retrieving revision 1.19 diff -u -p -r1.18 -r1.19 --- perl-JSON-XS.spec 7 Dec 2009 09:17:10 -0000 1.18 +++ perl-JSON-XS.spec 27 Feb 2010 21:38:02 -0000 1.19 @@ -1,24 +1,24 @@ Name: perl-JSON-XS -Epoch: 1 -Version: 2.24 -Release: 3%{?dist} Summary: JSON serialising/deserialising, done correctly and fast +Epoch: 1 +Version: 2.27 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries +Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz URL: http://search.cpan.org/dist/JSON-XS/ -Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -# core +BuildRequires: perl(common::sense) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) -# don't "provide" private Perl libs -%global _use_internal_dependency_generator 0 -%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u -%global __find_provides /bin/sh -c "%{__grep} -v '%_docdir' | %{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}" -%global __find_requires /bin/sh -c "%{__grep} -v '%_docdir' | %{__deploop R}" +Requires: perl(common::sense) + + +%{?perl_default_filter} +%{?perl_default_subpackage_tests} %description This module converts Perl data structures to JSON and vice versa. Its @@ -29,8 +29,7 @@ reach the latter goal it was written in %setup -q -n JSON-XS-%{version} sed -i 's/\r//' t/* -perl -pi -e 's|^#! ?perl|#!/usr/bin/perl|' t/* -perl -pi -e 's|^#!/opt/bin/perl|#!/usr/bin/perl|' eg/* +perl -pi -e 's|^#!/opt/bin/perl|#!%{__perl}|' eg/* chmod -c -x eg/* %build @@ -40,7 +39,7 @@ make %{?_smp_mflags} %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} -type f -name '*.bs' -size 0 -exec rm -f {} + @@ -56,13 +55,19 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc Changes COPYING README t/ eg/ +%doc Changes COPYING README eg/ %{perl_vendorarch}/* %exclude %dir %{perl_vendorarch}/auto %{_bindir}/* %{_mandir}/man[13]/* %changelog +* Sat Feb 27 2010 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1:2.27-1 +- update by Fedora::App::MaintainerTools 0.004 +- PERL_INSTALL_ROOT => DESTDIR +- added a new br on perl(common::sense) (version 0) +- added a new req on perl(common::sense) (version 0) + * Mon Dec 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 1:2.24-3 - rebuild against perl 5.10.1 Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-JSON-XS/devel/sources,v retrieving revision 1.10 retrieving revision 1.11 diff -u -p -r1.10 -r1.11 --- sources 2 Jun 2009 07:02:01 -0000 1.10 +++ sources 27 Feb 2010 21:38:02 -0000 1.11 @@ -1 +1 @@ -8821744b35260f4712a28ed68afcd2b6 JSON-XS-2.24.tar.gz +d7a4f92f2e497281f2a8f535fbe9783a JSON-XS-2.27.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