Update to 1.004001

- New upstream release 1.004001
  - Document when is_bool became available
  - Now favouring Cpanel::JSON::XS over JSON::XS in more situations (the former
    is always added to prereqs when a compiler is available, although JSON::XS
    is still used at runtime if new enough and Cpanel::JSON::XS is not
    installed); this makes boolean handling more predictable and consistent
- Package LICENSE file
- Use %{make_build} and %{make_install}
epel9
Paul Howarth 5 years ago
parent 07e3868c75
commit d655a80fed

@ -8,19 +8,18 @@
Name: perl-JSON-MaybeXS
Summary: Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP
Version: 1.004000
Release: 7%{?dist}
Version: 1.004001
Release: 1%{?dist}
License: GPL+ or Artistic
URL: https://metacpan.org/release/JSON-MaybeXS
Source0: https://cpan.metacpan.org/modules/by-module/JSON/JSON-MaybeXS-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(lib)
BuildRequires: perl(Text::ParseWords)
# Dependencies of bundled ExtUtils::HasCompiler
@ -65,23 +64,33 @@ mutators, so we provide our own "new" method that supports that.
%setup -q -n JSON-MaybeXS-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{make_install}
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/JSON/
%{_mandir}/man3/JSON::MaybeXS.3*
%changelog
* Sat May 2 2020 Paul Howarth <paul@city-fan.org> - 1.004001-1
- Update to 1.004001
- Document when is_bool became available
- Now favouring Cpanel::JSON::XS over JSON::XS in more situations (the former
is always added to prereqs when a compiler is available, although JSON::XS
is still used at runtime if new enough and Cpanel::JSON::XS is not
installed); this makes boolean handling more predictable and consistent
- Package LICENSE file
- Use %%{make_build} and %%{make_install}
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.004000-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

@ -1 +1 @@
SHA512 (JSON-MaybeXS-1.004000.tar.gz) = caebd00e49f4bd79f9a9a748077d58d963f53b656e4f48f9577a14fb36a80e956ff393f0ccdf7066129bcd7ebcec73a201c1c6fc778ce2488522b4e3886d2bbb
SHA512 (JSON-MaybeXS-1.004001.tar.gz) = d19f5029d02b615ce4545fb95584309c7609bc76239c0f86c55cb89bcb88fb6e4c7c69d8f180bdae15e3148b854ca219b5290e21b45c6ccbc3fb06fc48358dd8

Loading…
Cancel
Save