Update to 0.988

- New upstream release 0.988
  - Update author contact info
  - Add perl support section to docs
This commit is contained in:
Paul Howarth 2021-06-21 12:40:39 +01:00
parent d221a7ff22
commit 4a5c1da5aa
2 changed files with 15 additions and 18 deletions

View File

@ -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 <paul@city-fan.org> - 0.988-1
- Update to 0.988
- Update author contact info
- Add perl support section to docs
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.987-26
- Perl 5.34 rebuild

View File

@ -1 +1 @@
5332d269a7ba387773fcd140b72a0ed2 Sub-Exporter-0.987.tar.gz
SHA512 (Sub-Exporter-0.988.tar.gz) = e992739097eca3aab0465e33ca60d91e4b08ee40d7cd041be4452873790e438bb1fb293331f919ae1e9b879fc063d17586218a9e97838cf61216172d6bdba273