3.36 bump
Skip optional tests on bootstrap because they need a non-core modules.
This commit is contained in:
parent
35afbca499
commit
a836fe9ba1
|
@ -6,3 +6,4 @@ Pod-Simple-3.05.tar.gz
|
|||
/Pod-Simple-3.31.tar.gz
|
||||
/Pod-Simple-3.32.tar.gz
|
||||
/Pod-Simple-3.35.tar.gz
|
||||
/Pod-Simple-3.36.tar.gz
|
||||
|
|
|
@ -1,19 +1,20 @@
|
|||
# Perform optional tests
|
||||
%bcond_without perl_Pod_Simple_enables_optional_test
|
||||
|
||||
Name: perl-Pod-Simple
|
||||
# Epoch to compete with perl.spec
|
||||
Epoch: 1
|
||||
Version: 3.35
|
||||
Release: 418%{?dist}
|
||||
Version: 3.36
|
||||
Release: 1%{?dist}
|
||||
Summary: Framework for parsing POD documentation
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Pod-Simple
|
||||
Source0: https://cpan.metacpan.org/authors/id/K/KH/KHW/Pod-Simple-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
# Run-time:
|
||||
BuildRequires: perl(Carp)
|
||||
|
@ -23,12 +24,14 @@ BuildRequires: perl(Encode)
|
|||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(Getopt::Long)
|
||||
BuildRequires: perl(if)
|
||||
BuildRequires: perl(integer)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(Pod::Escapes) >= 1.04
|
||||
BuildRequires: perl(Symbol)
|
||||
BuildRequires: perl(Text::Wrap) >= 98.112902
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(warnings)
|
||||
# Tests:
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
|
@ -37,30 +40,36 @@ BuildRequires: perl(File::Path)
|
|||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test) >= 1.25
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(warnings)
|
||||
BuildRequires: perl(utf8)
|
||||
%if %{with perl_Pod_Simple_enables_optional_test} && !%{defined perl_bootstrap}
|
||||
# Optional tests:
|
||||
# Text::Diff not helpful, used only in case of a failure
|
||||
BuildRequires: perl(parent)
|
||||
BuildRequires: perl(Test::Deep)
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
# Filter under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Text::Wrap\\)$
|
||||
|
||||
%description
|
||||
Pod::Simple is a Perl library for parsing text in the Pod ("plain old
|
||||
documentation") markup language that is typically used for writing
|
||||
Pod::Simple is a Perl library for parsing text in the POD (plain old
|
||||
documentation) markup language that is typically used for writing
|
||||
documentation for Perl and for Perl modules.
|
||||
|
||||
%prep
|
||||
%setup -q -n Pod-Simple-%{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=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
||||
%{make_install}
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
unset PERL_CORE PERL_TEST_DIFF
|
||||
make test
|
||||
|
||||
%files
|
||||
|
@ -69,6 +78,9 @@ make test
|
|||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu May 23 2019 Petr Pisar <ppisar@redhat.com> - 1:3.36-1
|
||||
- 3.36 bump
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.35-418
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue