- 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:
parent
1b67bd07cc
commit
15c49671f6
@ -1 +1 @@
|
|||||||
JSON-XS-2.24.tar.gz
|
JSON-XS-2.27.tar.gz
|
||||||
|
@ -1,24 +1,24 @@
|
|||||||
Name: perl-JSON-XS
|
Name: perl-JSON-XS
|
||||||
Epoch: 1
|
|
||||||
Version: 2.24
|
|
||||||
Release: 3%{?dist}
|
|
||||||
Summary: JSON serialising/deserialising, done correctly and fast
|
Summary: JSON serialising/deserialising, done correctly and fast
|
||||||
|
Epoch: 1
|
||||||
|
Version: 2.27
|
||||||
|
Release: 1%{?dist}
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
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/
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
# core
|
BuildRequires: perl(common::sense)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
|
|
||||||
# don't "provide" private Perl libs
|
Requires: perl(common::sense)
|
||||||
%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}"
|
%{?perl_default_filter}
|
||||||
%global __find_requires /bin/sh -c "%{__grep} -v '%_docdir' | %{__deploop R}"
|
%{?perl_default_subpackage_tests}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module converts Perl data structures to JSON and vice versa. Its
|
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}
|
%setup -q -n JSON-XS-%{version}
|
||||||
|
|
||||||
sed -i 's/\r//' t/*
|
sed -i 's/\r//' t/*
|
||||||
perl -pi -e 's|^#! ?perl|#!/usr/bin/perl|' t/*
|
perl -pi -e 's|^#!/opt/bin/perl|#!%{__perl}|' eg/*
|
||||||
perl -pi -e 's|^#!/opt/bin/perl|#!/usr/bin/perl|' eg/*
|
|
||||||
chmod -c -x eg/*
|
chmod -c -x eg/*
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -40,7 +39,7 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
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 .packlist -exec rm -f {} +
|
||||||
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
|
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
|
||||||
@ -56,13 +55,19 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes COPYING README t/ eg/
|
%doc Changes COPYING README eg/
|
||||||
%{perl_vendorarch}/*
|
%{perl_vendorarch}/*
|
||||||
%exclude %dir %{perl_vendorarch}/auto
|
%exclude %dir %{perl_vendorarch}/auto
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man[13]/*
|
%{_mandir}/man[13]/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1:2.24-3
|
||||||
- rebuild against perl 5.10.1
|
- rebuild against perl 5.10.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user