[perl-JSON-Any] update to 1.25

Iain Arnell iarnell at fedoraproject.org
Sun Nov 21 10:40:37 UTC 2010


commit 9ce44087db286839b1fd21c54c47ae34a65921ed
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Nov 21 11:40:36 2010 +0100

    update to 1.25

 .gitignore         |    1 +
 perl-JSON-Any.spec |   17 +++++++++--------
 sources            |    2 +-
 3 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5b90b4b..152aa68 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 JSON-Any-1.22.tar.gz
+/JSON-Any-1.25.tar.gz
diff --git a/perl-JSON-Any.spec b/perl-JSON-Any.spec
index 991e03f..672be3e 100644
--- a/perl-JSON-Any.spec
+++ b/perl-JSON-Any.spec
@@ -1,18 +1,19 @@
 Name:           perl-JSON-Any
 Summary:        A meta-module to make working with JSON easier
-Version:        1.22
-Release:        2%{?dist}
+Version:        1.25
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/JSON-Any-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/JSON-Any/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:      noarch
 
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(CPAN)
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
+BuildRequires:  perl(JSON)
+BuildRequires:  perl(JSON::Syck)
 BuildRequires:  perl(JSON::XS) >= 1.52
 BuildRequires:  perl(Test::More) >= 0.42
 
@@ -39,8 +40,6 @@ mv  Changes.foo Changes
 make
 
 %install
-rm -rf %{buildroot}
-
 make pure_install DESTDIR=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} +
@@ -51,9 +50,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -61,6 +57,11 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Sun Nov 21 2010 Iain Arnell <iarnell at gmail.com> 1.25-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- restore JSON and JSON::Syck BRs for tests
+
 * Sun May 02 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.22-2
 - Mass rebuild with perl-5.12.0
 
diff --git a/sources b/sources
index 1f98410..e1697c5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c576a6765c310ad36135e2c090eb0be7  JSON-Any-1.22.tar.gz
+10de13ce9ee9ec14336ee1d3b70b3ab0  JSON-Any-1.25.tar.gz



More information about the perl-devel mailing list