update to 2.27

This commit is contained in:
Iain Arnell 2010-11-21 11:29:45 +01:00
parent 846c86f43b
commit bbcba1f0df
3 changed files with 8 additions and 9 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
JSON-2.17.tar.gz
/JSON-2.27.tar.gz

View File

@ -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 <iarnell@gmail.com> 2.27-1
- update to latest upstream version
- clean up spec for modern rpmbuild
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.17-2
- Mass rebuild with perl-5.12.0

View File

@ -1 +1 @@
9a775cc4303a3282b8094cd6a0629397 JSON-2.17.tar.gz
5a155c100f9b572bb0cd46d8fb8a3a21 JSON-2.27.tar.gz