Update to 4.03
This commit is contained in:
parent
8cb04cdc23
commit
b28e17d78f
@ -1,12 +1,12 @@
|
|||||||
Name: perl-JSON
|
Name: perl-JSON
|
||||||
Summary: Parse and convert to JSON (JavaScript Object Notation)
|
Summary: Parse and convert to JSON (JavaScript Object Notation)
|
||||||
Version: 4.02
|
Version: 4.03
|
||||||
Release: 7%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
|
|
||||||
URL: https://metacpan.org/release/JSON
|
URL: https://metacpan.org/release/JSON
|
||||||
Source0: https://cpan.metacpan.org/modules/by-module/JSON/JSON-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/JSON-%{version}.tar.gz
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
|
||||||
Requires: perl(B)
|
Requires: perl(B)
|
||||||
Requires: perl(Encode)
|
Requires: perl(Encode)
|
||||||
Requires: perl(Math::BigFloat)
|
Requires: perl(Math::BigFloat)
|
||||||
@ -61,21 +61,20 @@ data structure into each other. For JSON, see http://www.crockford.com/JSON/.
|
|||||||
|
|
||||||
# make rpmlint happy...
|
# make rpmlint happy...
|
||||||
find . -type f -exec chmod -c -x {} +
|
find . -type f -exec chmod -c -x {} +
|
||||||
find t/ -type f -exec perl -pi -e 's|^#! perl|#!%{__perl}|' {} +
|
find t/ -type f -exec perl -pi -e 's|^#! perl|#!/usr/bin/perl|' {} +
|
||||||
sed -i 's/\r//' README t/*
|
sed -i 's/\r//' README t/*
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||||
make %{?_smp_mflags}
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
%{make_install}
|
||||||
find %{buildroot} -type f -name .packlist -delete
|
|
||||||
%{_fixperms} -c %{buildroot}
|
%{_fixperms} -c %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
unset PERL_JSON_BACKEND PERL_JSON_DEBUG PERL_JSON_PP_USE_B
|
unset PERL_JSON_BACKEND PERL_JSON_DEBUG PERL_JSON_PP_USE_B
|
||||||
make test
|
%{make_build} test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
@ -83,6 +82,13 @@ make test
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 24 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 4.03-1
|
||||||
|
- Update to 4.03
|
||||||
|
- Use %%{make_install} instead of "make pure_install"
|
||||||
|
- Use %%{make_build} instead of make
|
||||||
|
- Replace calls to %%{__perl} with /usr/bin/perl
|
||||||
|
- Pass NO_PACKLIST and NO_PERLLOCAL to Makefile.PL
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.02-7
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.02-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (JSON-4.02.tar.gz) = 4af44478cd1dac1755768e5211fe86f0086150157393ff2075def7cf6a394fe11e8e35f369f2abc0470373efc8021e941c59ace9a92dfcd50740f924c747d95a
|
SHA512 (JSON-4.03.tar.gz) = 5910818d3a866a50ea655da7d9ae617f21d3bc7e8511d35cff96ec4ea04fe553638c7843422cf2d00c37835a6d9f931b1defd224f57c40a3e52d7cef4684ef8c
|
||||||
|
Loading…
Reference in New Issue
Block a user