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 Name: perl-JSON-MaybeXS
Summary: Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP Summary: Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP
Version: 1.004000 Version: 1.004001
Release: 7%{?dist} Release: 1%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/JSON-MaybeXS URL: https://metacpan.org/release/JSON-MaybeXS
Source0: https://cpan.metacpan.org/modules/by-module/JSON/JSON-MaybeXS-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/JSON/JSON-MaybeXS-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Module Build # Module Build
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(Text::ParseWords) BuildRequires: perl(Text::ParseWords)
# Dependencies of bundled ExtUtils::HasCompiler # 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} %setup -q -n JSON-MaybeXS-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor 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
make test make test
%files %files
%license LICENSE
%doc Changes README %doc Changes README
%{perl_vendorlib}/JSON/ %{perl_vendorlib}/JSON/
%{_mandir}/man3/JSON::MaybeXS.3* %{_mandir}/man3/JSON::MaybeXS.3*
%changelog %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 * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.004000-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - 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