- 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)
This commit is contained in:
Chris Weyl 2010-02-27 21:38:02 +00:00
parent 1b67bd07cc
commit 15c49671f6
4 changed files with 23 additions and 16 deletions

View File

@ -1 +1 @@
JSON-XS-2.24.tar.gz
JSON-XS-2.27.tar.gz

2
auto.ini Normal file
View File

@ -0,0 +1,2 @@
[add_build_requires]
perl(Test::More)=0

View File

@ -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 C.
%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@alumni.drew.edu> 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@redhat.com> - 1:2.24-3
- rebuild against perl 5.10.1

View File

@ -1 +1 @@
8821744b35260f4712a28ed68afcd2b6 JSON-XS-2.24.tar.gz
d7a4f92f2e497281f2a8f535fbe9783a JSON-XS-2.27.tar.gz