Update to 0.988
- New upstream release 0.988 - Update author contact info - Add perl support section to docs
This commit is contained in:
parent
d221a7ff22
commit
4a5c1da5aa
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user