Update to 2.3 from cpan. Change in rpm to 2.30.
This commit is contained in:
parent
6673f36a57
commit
7cb38dbfe8
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
JSON-XS-2.27.tar.gz
|
||||
/JSON-XS-2.3.tar.gz
|
||||
|
@ -1,13 +1,14 @@
|
||||
%define real_version 2.3
|
||||
Name: perl-JSON-XS
|
||||
Summary: JSON serialising/deserialising, done correctly and fast
|
||||
Epoch: 1
|
||||
Version: 2.27
|
||||
Release: 2%{?dist}
|
||||
# previous version was 2.27
|
||||
Version: 2.30
|
||||
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/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{real_version}.tar.gz
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
BuildRequires: perl(common::sense)
|
||||
@ -15,7 +16,8 @@ BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::More)
|
||||
|
||||
Requires: perl(common::sense)
|
||||
|
||||
# because of 2.3 upstream version and 2.30 rpm version
|
||||
Provides: perl(JSON::XS) = 2.30
|
||||
|
||||
%{?perl_default_filter}
|
||||
%{?perl_default_subpackage_tests}
|
||||
@ -26,7 +28,7 @@ primary goal is to be correct and its secondary goal is to be fast. To
|
||||
reach the latter goal it was written in C.
|
||||
|
||||
%prep
|
||||
%setup -q -n JSON-XS-%{version}
|
||||
%setup -q -n JSON-XS-%{real_version}
|
||||
|
||||
sed -i 's/\r//' t/*
|
||||
perl -pi -e 's|^#!/opt/bin/perl|#!%{__perl}|' eg/*
|
||||
@ -62,6 +64,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man[13]/*
|
||||
|
||||
%changelog
|
||||
* Mon Oct 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1:2.30-1
|
||||
- update
|
||||
|
||||
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:2.27-2
|
||||
- Mass rebuild with perl-5.12.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user