update to 2.27
This commit is contained in:
parent
846c86f43b
commit
bbcba1f0df
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
JSON-2.17.tar.gz
|
||||
/JSON-2.27.tar.gz
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user