5.2 bump
Upstream stick on 1-decimal-point release number. Let's follow it despite the cost of increasing epoch.
This commit is contained in:
parent
1a54edac75
commit
3a9046a14c
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
/Module-Pluggable-4.8.tar.gz
|
||||
/Module-Pluggable-5.0.tar.gz
|
||||
/Module-Pluggable-5.1.tar.gz
|
||||
/Module-Pluggable-5.2.tar.gz
|
||||
|
||||
@ -1,51 +1,53 @@
|
||||
%global cpan_version 5.1
|
||||
Name: perl-Module-Pluggable
|
||||
# Epoch to compete with perl.spec
|
||||
Epoch: 1
|
||||
# Keep two digit decimal part
|
||||
Version: %{cpan_version}0
|
||||
Release: 6%{?dist}
|
||||
Epoch: 2
|
||||
Version: 5.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Automatically give your module the ability to have plugins
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Module-Pluggable/
|
||||
Source0: http://www.cpan.org/authors/id/S/SI/SIMONW/Module-Pluggable-%{cpan_version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/S/SI/SIMONW/Module-Pluggable-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(FindBin)
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Spec::Functions) >= 3.00
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time:
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
%if 0%(perl -e 'print $] > 5.017')
|
||||
BuildRequires: perl(deprecate)
|
||||
%endif
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(Exporter) >= 5.57
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Find)
|
||||
BuildRequires: perl(File::Spec::Functions) >= 3.00
|
||||
BuildRequires: perl(if)
|
||||
BuildRequires: perl(vars)
|
||||
# Recommended run-time:
|
||||
BuildRequires: perl(Module::Runtime) >= 0.012
|
||||
# Tests:
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(FindBin)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::More) >= 0.62
|
||||
BuildRequires: perl(warnings)
|
||||
# IncTest is a locally overloaded module in t/lib/Text/Abbrev.pm
|
||||
# Optional tests:
|
||||
# App::FatPacker not yet packaged
|
||||
#%%if !%%{defined perl_bootstrap}
|
||||
#BuildRequires: perl(App::FatPacker) >= 0.10.0
|
||||
#BuildRequires: perl(Cwd)
|
||||
#BuildRequires: perl(File::Copy)
|
||||
#BuildRequires: perl(File::Path)
|
||||
#BuildRequires: perl(File::Temp)
|
||||
#%%endif
|
||||
BuildRequires: perl(App::FatPacker) >= 0.10.0
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(File::Copy)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(File::Temp)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(File::Spec::Functions) >= 3.00
|
||||
%if 0%(perl -e 'print $] > 5.017')
|
||||
Requires: perl(deprecate)
|
||||
%endif
|
||||
# Recommended run-time:
|
||||
Recommends: perl(Module::Runtime) >= 0.012
|
||||
|
||||
# Filter under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec::Functions\\)$
|
||||
@ -57,19 +59,20 @@ your name space that looks through a search path for .pm files and turn those
|
||||
into class names. Optionally it instantiates those classes for you.
|
||||
|
||||
%prep
|
||||
%setup -q -n Module-Pluggable-%{cpan_version}
|
||||
%setup -q -n Module-Pluggable-%{version}
|
||||
find -type f -exec chmod -x {} +
|
||||
|
||||
%build
|
||||
perl Build.PL installdirs=vendor
|
||||
./Build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
./Build test
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
@ -77,6 +80,9 @@ perl Build.PL installdirs=vendor
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 31 2015 Petr Pisar <ppisar@redhat.com> - 2:5.2-1
|
||||
- 5.2 bump
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.10-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user