|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Name: perl-JSON-Any
|
|
|
|
|
Summary: A meta-module to make working with JSON easier
|
|
|
|
|
Version: 1.38
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 1.39
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/JSON-Any-%{version}.tar.gz
|
|
|
|
@ -13,7 +13,7 @@ BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(CPAN)
|
|
|
|
|
BuildRequires: perl(Cpanel::JSON::XS)
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(JSON)
|
|
|
|
|
# Not in Fedora
|
|
|
|
|
# BuildRequires: perl(JSON::DWIW)
|
|
|
|
@ -45,15 +45,11 @@ currently on CPAN.
|
|
|
|
|
find . -type f -exec chmod -c -x {} +
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor --default
|
|
|
|
|
%{__perl} Makefile.PL NO_PACKLIST=1 INSTALLDIRS=vendor --default
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -61,10 +57,15 @@ make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
%{perl_vendorlib}/JSON*
|
|
|
|
|
%{_mandir}/man3/JSON*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 12 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 1.39-1
|
|
|
|
|
- Update to 1.39
|
|
|
|
|
- Tighten file listing
|
|
|
|
|
- Tidy up spec file
|
|
|
|
|
|
|
|
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-2
|
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
|
|
|
|
|