Update to 4.03

This commit is contained in:
Paul Howarth 2020-10-28 11:55:55 +00:00
parent 2bf4a7d92a
commit 9ac2faaaf7
3 changed files with 15 additions and 9 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ JSON-XS-2.27.tar.gz
/JSON-XS-4.0.tar.gz
/JSON-XS-4.01.tar.gz
/JSON-XS-4.02.tar.gz
/JSON-XS-4.03.tar.gz

View File

@ -1,8 +1,8 @@
Name: perl-JSON-XS
Summary: JSON serializing/de-serializing, done correctly and fast
Epoch: 1
Version: 4.02
Release: 6%{?dist}
Version: 4.03
Release: 1%{?dist}
License: GPL+ or Artistic
URL: https://metacpan.org/release/JSON-XS
Source0: https://cpan.metacpan.org/modules/by-module/JSON/JSON-XS-%{version}.tar.gz
@ -53,11 +53,11 @@ perl -pi -e 's|^#!/opt/bin/perl|#!%{__perl}|' eg/*
chmod -c -x eg/*
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
make %{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
%{make_install}
%{_fixperms} -c %{buildroot}
%check
@ -66,12 +66,17 @@ make test
%files
%doc Changes README eg/
%license COPYING
%{perl_vendorarch}/*
%exclude %dir %{perl_vendorarch}/auto
%{_bindir}/*
%{_bindir}/json_xs
%{perl_vendorarch}/auto/JSON/
%{perl_vendorarch}/JSON/
%{_mandir}/man[13]/*
%changelog
* Wed Oct 28 2020 Paul Howarth <paul@city-fan.org> - 1:4.03-1
- Update to 4.03
- Use %%{make_build} and %%{make_install}
- Simplify files list a bit
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.02-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (JSON-XS-4.02.tar.gz) = 4a8fdf8d81cdd6e38c3c5672621d38ef6f63a09ca3a74e98fbb21e679273c347d2a3b8c2233c8e813987d2728081fb535223ea3f705d33a7016b76d0e76ffd61
SHA512 (JSON-XS-4.03.tar.gz) = 7d2c20302b0f98bd69e692b61d272b58c13a79741f3e2e44ee0530e21dd239526477f8b02e4afbfe41ee83cb69ab1c5247bf0be355f3f09e9cfe31b2ea4a5155