|
|
|
@ -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@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@redhat.com> - 1.22-2
|
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
|
|
|
|
|