[perl-JSON-XS] Update to 2.32 and clean up spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 6bc82c62322a47bf7805c07b90fcf0157f865c46
Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 12 15:54:33 2012 +0100

    Update to 2.32 and clean up spec file

 .gitignore        |    1 +
 perl-JSON-XS.spec |   22 ++++++++--------------
 sources           |    2 +-
 3 files changed, 10 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ec93d93..c27ca8d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 JSON-XS-2.27.tar.gz
 /JSON-XS-2.3.tar.gz
+/JSON-XS-2.32.tar.gz
diff --git a/perl-JSON-XS.spec b/perl-JSON-XS.spec
index 804c5d3..c5eb20b 100644
--- a/perl-JSON-XS.spec
+++ b/perl-JSON-XS.spec
@@ -1,14 +1,12 @@
-%define         real_version 2.3
 Name:           perl-JSON-XS
 Summary:        JSON serialising/deserialising, done correctly and fast
 Epoch:          1
-# previous version was 2.27
-Version:        2.30
-Release:        3%{?dist}
+Version:        2.32
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/JSON-XS/
-Source0:        http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{real_version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 BuildRequires:  perl(common::sense)
@@ -16,8 +14,6 @@ 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}
@@ -28,7 +24,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-%{real_version}
+%setup -q -n JSON-XS-%{version}
 
 sed -i 's/\r//' t/*
 perl -pi -e 's|^#!/opt/bin/perl|#!%{__perl}|' eg/*
@@ -39,8 +35,6 @@ chmod -c -x eg/*
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install DESTDIR=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} +
@@ -52,11 +46,7 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc Changes COPYING README eg/
 %{perl_vendorarch}/*
 %exclude %dir %{perl_vendorarch}/auto
@@ -64,6 +54,10 @@ rm -rf %{buildroot}
 %{_mandir}/man[13]/*
 
 %changelog
+* Thu Jan 12 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 1:2.32-1
+- Update to 2.32
+- Clean up spec file
+
 * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1:2.30-3
 - Perl mass rebuild
 
diff --git a/sources b/sources
index 0fe43fe..8aeced7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4dc2a968e41f8cf330d46be12f221a12  JSON-XS-2.3.tar.gz
+87f71c78010083ad4d158b5765c4a609  JSON-XS-2.32.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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux