From d85fc2532a85d85b54015056d769df8456142db8 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Sun, 26 Apr 2020 20:10:43 +0100 Subject: [PATCH] Update to 0.006022 - New upstream release 0.006022 - Use ppport.h for compatibility with earlier perls - Update to work with Perl 5.31.7 (GH#1) - Use %{make_build} and %{make_install} - Package LICENSE file --- perl-Devel-Declare.spec | 26 ++++++++++++++++++-------- sources | 2 +- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/perl-Devel-Declare.spec b/perl-Devel-Declare.spec index 162f932..37a20fa 100644 --- a/perl-Devel-Declare.spec +++ b/perl-Devel-Declare.spec @@ -6,8 +6,8 @@ %endif Name: perl-Devel-Declare -Version: 0.006019 -Release: 16%{?dist} +Version: 0.006022 +Release: 1%{?dist} Summary: Adding keywords to perl, in perl License: GPL+ or Artistic URL: https://metacpan.org/release/Devel-Declare @@ -21,7 +21,7 @@ BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::Depends) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Module Runtime BuildRequires: perl(B::Hooks::EndOfScope) >= 0.05 BuildRequires: perl(B::Hooks::OP::Check) >= 0.19 @@ -32,7 +32,6 @@ BuildRequires: perl(DynaLoader) BuildRequires: perl(Scalar::Util) >= 1.11 BuildRequires: perl(strict) BuildRequires: perl(Sub::Name) -BuildRequires: perl(vars) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl-debugger @@ -69,12 +68,15 @@ include Devel::CallParser, Function::Parameters, and Keyword::Simple. %setup -q -n Devel-Declare-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -make %{?_smp_mflags} +perl Makefile.PL \ + INSTALLDIRS=vendor \ + OPTIMIZE="%{optflags}" \ + NO_PACKLIST=1 \ + NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -delete +%{make_install} find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} -c %{buildroot} @@ -82,12 +84,20 @@ find %{buildroot} -type f -name '*.bs' -empty -delete make test %files +%license LICENSE %doc Changes README %{perl_vendorarch}/auto/Devel/ %{perl_vendorarch}/Devel/ %{_mandir}/man3/Devel::Declare.3* %changelog +* Sun Apr 26 2020 Paul Howarth - 0.006022-1 +- Update to 0.006022 + - Use ppport.h for compatibility with earlier perls + - Update to work with Perl 5.31.7 (GH#1) +- Use %%{make_build} and %%{make_install} +- Package LICENSE file + * Tue Mar 10 2020 Paul Howarth - 0.006019-16 - BR: perl-debugger for t/debug.t diff --git a/sources b/sources index 991f465..363317e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Devel-Declare-0.006019.tar.gz) = 1f3073597c5b27160a9ccd8019c35563982479a8c6303e138d1260706499732aa6c402e835d8b5f06a02ee55294889735500d8a24c2f6f5df9d5ed3111d08fb0 +SHA512 (Devel-Declare-0.006022.tar.gz) = 05b226fdc18a69e0590087d1daeca111af86c3a6865477cb203701e1c8f4a5a03e919f4c6661252ef0ee4204a71667b36caf061374d67a8508dafe4dce155a1e