[svn] r9795 - /trunk/rpms/perl-JSON-XS/perl-JSON-XS.spec

Yury V. Zaytsev yury at shurup.com
Sun Apr 3 00:05:09 CEST 2011


Author: yury
Date: Sat Apr  2 23:05:09 2011
New Revision: 9795

URL: http://svn.rpmforge.net/viewvc/rpmforge?rev=9795&view=rev
Log:
Same problem here...


Modified:
    trunk/rpms/perl-JSON-XS/perl-JSON-XS.spec

Modified: trunk/rpms/perl-JSON-XS/perl-JSON-XS.spec
URL: http://svn.rpmforge.net/viewvc/rpmforge/trunk/rpms/perl-JSON-XS/perl-JSON-XS.spec?rev=9795&r1=9794&r2=9795&view=diff
==============================================================================
--- trunk/rpms/perl-JSON-XS/perl-JSON-XS.spec (original)
+++ trunk/rpms/perl-JSON-XS/perl-JSON-XS.spec Sat Apr  2 23:05:09 2011
@@ -6,17 +6,18 @@
 %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
 
 %define real_name JSON-XS
+%define real_version 2.3
 
 Summary: Perl module that implements JSON serialising/deserialising
 Name: perl-JSON-XS
-Version: 2.3
+Version: %{real_version}0
 Release: 1%{?dist}
 License: GPL
 Group: Applications/CPAN
 URL: http://search.cpan.org/dist/JSON-XS/
 
-Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-%{real_version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{real_version}-%{release}-root
 
 BuildRequires: perl(ExtUtils::MakeMaker)
 BuildRequires: perl(common::sense)
@@ -33,7 +34,7 @@
 done correctly and fast.
 
 %prep
-%setup -n %{real_name}-%{version}
+%setup -n %{real_name}-%{real_version}
 
 %build
 CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
@@ -66,6 +67,9 @@
 %{perl_vendorarch}/JSON/XS.pm
 
 %changelog
+* Sun Apr 03 2011 Yury V. Zaytsev <yury at shurup.com> - 2.30-1
+- Version bump to supersede 0.27.
+
 * Sat Feb 05 2011 Denis Fateyev <denis at fateyev.com> - 2.3-1
 - Updated to version 2.3.
 




More information about the commits mailing list