From 4a5c1da5aa63ebe5a9c672ed5df30a341c021d96 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 21 Jun 2021 12:40:39 +0100 Subject: [PATCH] Update to 0.988 - New upstream release 0.988 - Update author contact info - Add perl support section to docs --- perl-Sub-Exporter.spec | 31 ++++++++++++++----------------- sources | 2 +- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/perl-Sub-Exporter.spec b/perl-Sub-Exporter.spec index 98eff59..7cf76ea 100644 --- a/perl-Sub-Exporter.spec +++ b/perl-Sub-Exporter.spec @@ -1,6 +1,3 @@ -# Provides/Requires filtering is different from rpm 4.9 onwards -%global rpm49 %(rpm --version | perl -p -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e' 2>/dev/null || echo 0) - # Run extra test %if ! (0%{?rhel}) %bcond_without perl_Sub_Exporter_enables_extra_test @@ -9,8 +6,8 @@ %endif Name: perl-Sub-Exporter -Version: 0.987 -Release: 26%{?dist} +Version: 0.988 +Release: 1%{?dist} Summary: Sophisticated exporter for custom-built routines License: GPL+ or Artistic URL: https://metacpan.org/release/Sub-Exporter @@ -22,25 +19,28 @@ BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78 # Module BuildRequires: perl(Carp) BuildRequires: perl(Data::OptList) >= 0.1 BuildRequires: perl(Package::Generator) BuildRequires: perl(Params::Util) >= 0.14 +BuildRequires: perl(strict) BuildRequires: perl(Sub::Install) >= 0.92 +BuildRequires: perl(warnings) # Test suite BuildRequires: perl(base) BuildRequires: perl(blib) BuildRequires: perl(Exporter) BuildRequires: perl(File::Spec) -BuildRequires: perl(IO::Handle) -BuildRequires: perl(IPC::Open3) BuildRequires: perl(lib) BuildRequires: perl(subs) -BuildRequires: perl(Test::More) >= 0.94 +BuildRequires: perl(Test::More) >= 0.96 +# Optional tests +BuildRequires: perl(CPAN::Meta) >= 2.120900 # Extra tests %if %{with perl_Sub_Exporter_enables_extra_test} +BuildRequires: perl(Encode) BuildRequires: perl(Test::Pod) >= 1.41 %endif # Runtime @@ -66,14 +66,6 @@ Sub::Exporter::Tutorial first! find t/ -type f -exec \ perl -MExtUtils::MakeMaker -e 'ExtUtils::MM_Unix->fixin(qw{{}})' \; -# Filter bogus provides/requires if we don't have rpm ≥ 4.9 -%if ! %{rpm49} -%global provfilt /bin/sh -c "%{__perl_provides} | grep -Ev '^perl[(]Test::SubExporter.*[)]'" -%global __perl_provides %{provfilt} -%global reqfilt /bin/sh -c "%{__perl_requires} | grep -Ev '^perl[(](base|Test::SubExporter.*)[)]'" -%global __perl_requires %{reqfilt} -%endif - %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -103,6 +95,11 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" %{_mandir}/man3/Sub::Exporter::Util.3* %changelog +* Mon Jun 21 2021 Paul Howarth - 0.988-1 +- Update to 0.988 + - Update author contact info + - Add perl support section to docs + * Fri May 21 2021 Jitka Plesnikova - 0.987-26 - Perl 5.34 rebuild diff --git a/sources b/sources index 77aa944..2f096d9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5332d269a7ba387773fcd140b72a0ed2 Sub-Exporter-0.987.tar.gz +SHA512 (Sub-Exporter-0.988.tar.gz) = e992739097eca3aab0465e33ca60d91e4b08ee40d7cd041be4452873790e438bb1fb293331f919ae1e9b879fc063d17586218a9e97838cf61216172d6bdba273