commit bbcba1f0df1eb42805ca94c2a98b7ddd486db598
Author: Iain Arnell <[email protected]>
Date: Sun Nov 21 11:29:45 2010 +0100
update to 2.27
.gitignore | 1 +
perl-JSON.spec | 14 ++++++--------
sources | 2 +-
3 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 99d7e8e..5de2a1a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
JSON-2.17.tar.gz
+/JSON-2.27.tar.gz
diff --git a/perl-JSON.spec b/perl-JSON.spec
index c9c1ad0..ca4ddea 100644
--- a/perl-JSON.spec
+++ b/perl-JSON.spec
@@ -1,12 +1,11 @@
Name: perl-JSON
Summary: Parse and convert to JSON (JavaScript Object Notation)
-Version: 2.17
-Release: 2%{?dist}
+Version: 2.27
+Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0:
http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-%{version}.tar.gz
URL: http://search.cpan.org/dist/JSON/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
BuildArch: noarch
@@ -39,8 +38,6 @@ sed -i 's/\r//' README t/*
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
@@ -51,9 +48,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 t/
@@ -61,6 +55,10 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
+* Sun Nov 21 2010 Iain Arnell <[email protected]> 2.27-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
* Sun May 02 2010 Marcela Maslanova <[email protected]> - 2.17-2
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 3b3c9f2..a87aa30 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9a775cc4303a3282b8094cd6a0629397 JSON-2.17.tar.gz
+5a155c100f9b572bb0cd46d8fb8a3a21 JSON-2.27.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel