From d655a80fed3c019edcce9d52560e75c2a53037cc Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Sat, 2 May 2020 15:12:27 +0100 Subject: [PATCH] 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} --- .rpmlint => perl-JSON-MaybeXS.rpmlintrc | 0 perl-JSON-MaybeXS.spec | 25 +++++++++++++++++-------- sources | 2 +- 3 files changed, 18 insertions(+), 9 deletions(-) rename .rpmlint => perl-JSON-MaybeXS.rpmlintrc (100%) diff --git a/.rpmlint b/perl-JSON-MaybeXS.rpmlintrc similarity index 100% rename from .rpmlint rename to perl-JSON-MaybeXS.rpmlintrc diff --git a/perl-JSON-MaybeXS.spec b/perl-JSON-MaybeXS.spec index d14d135..68d3d1a 100644 --- a/perl-JSON-MaybeXS.spec +++ b/perl-JSON-MaybeXS.spec @@ -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 - 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 - 1.004000-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index e019a7b..f41e2d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (JSON-MaybeXS-1.004000.tar.gz) = caebd00e49f4bd79f9a9a748077d58d963f53b656e4f48f9577a14fb36a80e956ff393f0ccdf7066129bcd7ebcec73a201c1c6fc778ce2488522b4e3886d2bbb +SHA512 (JSON-MaybeXS-1.004001.tar.gz) = d19f5029d02b615ce4545fb95584309c7609bc76239c0f86c55cb89bcb88fb6e4c7c69d8f180bdae15e3148b854ca219b5290e21b45c6ccbc3fb06fc48358dd8