|
|
2f8c1ad |
# Run optional test
|
|
|
5232414 |
%if ! (0%{?rhel})
|
|
|
2f8c1ad |
%bcond_without perl_Module_Pluggable_enables_optional_test
|
|
|
5232414 |
%else
|
|
|
5232414 |
%bcond_with perl_Module_Pluggable_enables_optional_test
|
|
|
5232414 |
%endif
|
|
|
2f8c1ad |
|
|
|
2117445 |
Name: perl-Module-Pluggable
|
|
|
3a9046a |
Epoch: 2
|
|
|
3a9046a |
Version: 5.2
|
|
|
065cbaf |
Release: 10%{?dist}
|
|
|
2117445 |
Summary: Automatically give your module the ability to have plugins
|
|
|
2117445 |
License: GPL+ or Artistic
|
|
|
bcc58b7 |
URL: https://metacpan.org/release/Module-Pluggable
|
|
|
bcc58b7 |
Source0: https://cpan.metacpan.org/authors/id/S/SI/SIMONW/Module-Pluggable-%{version}.tar.gz
|
|
|
2117445 |
BuildArch: noarch
|
|
|
3a9046a |
BuildRequires: coreutils
|
|
|
3a9046a |
BuildRequires: findutils
|
|
|
3a9046a |
BuildRequires: make
|
|
|
75a3c1c |
BuildRequires: perl-interpreter
|
|
|
ff8e573 |
BuildRequires: perl-generators
|
|
|
3a9046a |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
3a9046a |
BuildRequires: perl(File::Spec::Functions) >= 3.00
|
|
|
4d71e0f |
BuildRequires: perl(strict)
|
|
|
3a9046a |
BuildRequires: perl(warnings)
|
|
|
2117445 |
# Run-time:
|
|
|
2117445 |
BuildRequires: perl(Carp)
|
|
|
4d71e0f |
BuildRequires: perl(deprecate)
|
|
|
3a9046a |
BuildRequires: perl(Exporter) >= 5.57
|
|
|
2117445 |
BuildRequires: perl(File::Basename)
|
|
|
2117445 |
BuildRequires: perl(File::Find)
|
|
|
2117445 |
BuildRequires: perl(if)
|
|
|
4d71e0f |
BuildRequires: perl(vars)
|
|
|
3a9046a |
# Recommended run-time:
|
|
|
3a9046a |
BuildRequires: perl(Module::Runtime) >= 0.012
|
|
|
2117445 |
# Tests:
|
|
|
3a9046a |
BuildRequires: perl(base)
|
|
|
2117445 |
BuildRequires: perl(Data::Dumper)
|
|
|
3a9046a |
BuildRequires: perl(FindBin)
|
|
|
2117445 |
BuildRequires: perl(lib)
|
|
|
2117445 |
BuildRequires: perl(Test::More) >= 0.62
|
|
|
3a9046a |
# IncTest is a locally overloaded module in t/lib/Text/Abbrev.pm
|
|
|
2f8c1ad |
%if %{with perl_Module_Pluggable_enables_optional_test}
|
|
|
22b4612 |
# Optional tests:
|
|
|
3a9046a |
BuildRequires: perl(App::FatPacker) >= 0.10.0
|
|
|
3a9046a |
BuildRequires: perl(Cwd)
|
|
|
3a9046a |
BuildRequires: perl(File::Copy)
|
|
|
3a9046a |
BuildRequires: perl(File::Path)
|
|
|
3a9046a |
BuildRequires: perl(File::Temp)
|
|
|
2f8c1ad |
%endif
|
|
|
2117445 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
2117445 |
Requires: perl(File::Spec::Functions) >= 3.00
|
|
|
4d71e0f |
Requires: perl(deprecate)
|
|
|
3a9046a |
# Recommended run-time:
|
|
|
3a9046a |
Recommends: perl(Module::Runtime) >= 0.012
|
|
|
2117445 |
|
|
|
2117445 |
# Filter under-specified dependencies
|
|
|
2117445 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec::Functions\\)$
|
|
|
2117445 |
|
|
|
2117445 |
%description
|
|
|
2117445 |
This package provides a simple but, hopefully, extensible way of having
|
|
|
2117445 |
'plugins' for your module. Essentially all it does is export a method into
|
|
|
2117445 |
your name space that looks through a search path for .pm files and turn those
|
|
|
2117445 |
into class names. Optionally it instantiates those classes for you.
|
|
|
2117445 |
|
|
|
2117445 |
%prep
|
|
|
3a9046a |
%setup -q -n Module-Pluggable-%{version}
|
|
|
2117445 |
find -type f -exec chmod -x {} +
|
|
|
2117445 |
|
|
|
2117445 |
%build
|
|
|
3a9046a |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
3a9046a |
make %{?_smp_mflags}
|
|
|
2117445 |
|
|
|
2117445 |
%install
|
|
|
3a9046a |
make pure_install DESTDIR=%{buildroot}
|
|
|
3a9046a |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
3a9046a |
%{_fixperms} %{buildroot}/*
|
|
|
2117445 |
|
|
|
2117445 |
%check
|
|
|
3a9046a |
make test
|
|
|
2117445 |
|
|
|
2117445 |
%files
|
|
|
2117445 |
%doc Changes README
|
|
|
2117445 |
%{perl_vendorlib}/*
|
|
|
2117445 |
%{_mandir}/man3/*
|
|
|
2117445 |
|
|
|
2117445 |
%changelog
|
|
|
065cbaf |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-10
|
|
|
065cbaf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
065cbaf |
|
|
|
60881fc |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-9
|
|
|
60881fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
60881fc |
|
|
|
b503efe |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2:5.2-8
|
|
|
b503efe |
- Perl 5.28 rebuild
|
|
|
b503efe |
|
|
|
68fc79a |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-7
|
|
|
68fc79a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
68fc79a |
|
|
|
cdb22c6 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-6
|
|
|
cdb22c6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
cdb22c6 |
|
|
|
993fcff |
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:5.2-5
|
|
|
993fcff |
- Perl 5.26 rebuild
|
|
|
993fcff |
|
|
|
13cd029 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-4
|
|
|
13cd029 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
13cd029 |
|
|
|
92558fd |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:5.2-3
|
|
|
92558fd |
- Perl 5.24 rebuild
|
|
|
92558fd |
|
|
|
0f599e8 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-2
|
|
|
0f599e8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
0f599e8 |
|
|
|
3a9046a |
* Mon Aug 31 2015 Petr Pisar <ppisar@redhat.com> - 2:5.2-1
|
|
|
3a9046a |
- 5.2 bump
|
|
|
3a9046a |
|
|
|
1a54eda |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.10-6
|
|
|
1a54eda |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
1a54eda |
|
|
|
1e279d5 |
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.10-5
|
|
|
1e279d5 |
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
1e279d5 |
|
|
|
43a4d2e |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.10-4
|
|
|
43a4d2e |
- Perl 5.22 rebuild
|
|
|
43a4d2e |
|
|
|
8022017 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.10-3
|
|
|
8022017 |
- Perl 5.20 rebuild
|
|
|
8022017 |
|
|
|
c0c7d64 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.10-2
|
|
|
c0c7d64 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
c0c7d64 |
|
|
|
22b4612 |
* Mon Jan 06 2014 Petr Pisar <ppisar@redhat.com> - 1:5.10-1
|
|
|
22b4612 |
- 5.1 bump
|
|
|
22b4612 |
|
|
|
af2df40 |
* Mon Jan 06 2014 Petr Pisar <ppisar@redhat.com> - 1:5.00-1
|
|
|
af2df40 |
- 5.0 bump
|
|
|
af2df40 |
|
|
|
5e2617f |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.80-291
|
|
|
5e2617f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
5e2617f |
|
|
|
2f272bc |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1:4.80-290
|
|
|
2f272bc |
- Increase release to favour standalone package
|
|
|
2f272bc |
|
|
|
e5cff2b |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:4.8-2
|
|
|
e5cff2b |
- Perl 5.18 rebuild
|
|
|
e5cff2b |
|
|
|
4d71e0f |
* Tue May 28 2013 Petr Pisar <ppisar@redhat.com> - 1:4.8-1
|
|
|
4d71e0f |
- 4.8 bump
|
|
|
4d71e0f |
|
|
|
54702fa |
* Thu Feb 28 2013 Petr Pisar <ppisar@redhat.com> - 1:4.7-1
|
|
|
54702fa |
- 4.7 bump
|
|
|
54702fa |
|
|
|
2117445 |
* Thu Jan 24 2013 Petr Pisar <ppisar@redhat.com> 1:4.6-1
|
|
|
2117445 |
- Specfile autogenerated by cpanspec 1.78.
|