You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
184 lines
6.3 KiB
184 lines
6.3 KiB
2 years ago
|
# Run optional test
|
||
|
%if ! (0%{?rhel})
|
||
|
%bcond_without perl_Module_Pluggable_enables_optional_test
|
||
|
%else
|
||
|
%bcond_with perl_Module_Pluggable_enables_optional_test
|
||
|
%endif
|
||
|
|
||
|
Name: perl-Module-Pluggable
|
||
|
Epoch: 2
|
||
|
Version: 5.2
|
||
|
Release: 18%{?dist}
|
||
|
Summary: Automatically give your module the ability to have plugins
|
||
|
License: GPL+ or Artistic
|
||
|
URL: https://metacpan.org/release/Module-Pluggable
|
||
|
Source0: https://cpan.metacpan.org/authors/id/S/SI/SIMONW/Module-Pluggable-%{version}.tar.gz
|
||
|
BuildArch: noarch
|
||
|
BuildRequires: coreutils
|
||
|
BuildRequires: findutils
|
||
|
BuildRequires: make
|
||
|
BuildRequires: perl-interpreter
|
||
|
BuildRequires: perl-generators
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||
|
BuildRequires: perl(File::Spec::Functions) >= 3.00
|
||
|
BuildRequires: perl(strict)
|
||
|
BuildRequires: perl(warnings)
|
||
|
# Run-time:
|
||
|
BuildRequires: perl(Carp)
|
||
|
BuildRequires: perl(deprecate)
|
||
|
BuildRequires: perl(Exporter) >= 5.57
|
||
|
BuildRequires: perl(File::Basename)
|
||
|
BuildRequires: perl(File::Find)
|
||
|
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
|
||
|
# IncTest is a locally overloaded module in t/lib/Text/Abbrev.pm
|
||
|
%if %{with perl_Module_Pluggable_enables_optional_test}
|
||
|
# Optional tests:
|
||
|
BuildRequires: perl(App::FatPacker) >= 0.10.0
|
||
|
BuildRequires: perl(Cwd)
|
||
|
BuildRequires: perl(File::Copy)
|
||
|
BuildRequires: perl(File::Path)
|
||
|
BuildRequires: perl(File::Temp)
|
||
|
%endif
|
||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||
|
Requires: perl(File::Spec::Functions) >= 3.00
|
||
|
Requires: perl(deprecate)
|
||
|
# Recommended run-time:
|
||
|
Recommends: perl(Module::Runtime) >= 0.012
|
||
|
|
||
|
# Filter under-specified dependencies
|
||
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec::Functions\\)$
|
||
|
|
||
|
%description
|
||
|
This package provides a simple but, hopefully, extensible way of having
|
||
|
'plugins' for your module. Essentially all it does is export a method into
|
||
|
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-%{version}
|
||
|
find -type f -exec chmod -x {} +
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
make pure_install DESTDIR=%{buildroot}
|
||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||
|
%{_fixperms} %{buildroot}/*
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%files
|
||
|
%doc Changes README
|
||
|
%{perl_vendorlib}/*
|
||
|
%{_mandir}/man3/*
|
||
|
|
||
|
%changelog
|
||
|
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 5.2-18
|
||
|
- Rebuilt for MSVSphere 9.1.
|
||
|
|
||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2:5.2-18
|
||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||
|
Related: rhbz#1991688
|
||
|
|
||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2:5.2-17
|
||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||
|
|
||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-16
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||
|
|
||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-15
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2:5.2-14
|
||
|
- Perl 5.32 rebuild
|
||
|
|
||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-13
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-12
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||
|
|
||
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2:5.2-11
|
||
|
- Perl 5.30 rebuild
|
||
|
|
||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-10
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-9
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||
|
|
||
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2:5.2-8
|
||
|
- Perl 5.28 rebuild
|
||
|
|
||
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-7
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||
|
|
||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-6
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||
|
|
||
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:5.2-5
|
||
|
- Perl 5.26 rebuild
|
||
|
|
||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||
|
|
||
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:5.2-3
|
||
|
- Perl 5.24 rebuild
|
||
|
|
||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||
|
|
||
|
* 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
|
||
|
|
||
|
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.10-5
|
||
|
- Perl 5.22 re-rebuild of bootstrapped packages
|
||
|
|
||
|
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.10-4
|
||
|
- Perl 5.22 rebuild
|
||
|
|
||
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.10-3
|
||
|
- Perl 5.20 rebuild
|
||
|
|
||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.10-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||
|
|
||
|
* Mon Jan 06 2014 Petr Pisar <ppisar@redhat.com> - 1:5.10-1
|
||
|
- 5.1 bump
|
||
|
|
||
|
* Mon Jan 06 2014 Petr Pisar <ppisar@redhat.com> - 1:5.00-1
|
||
|
- 5.0 bump
|
||
|
|
||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.80-291
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||
|
|
||
|
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1:4.80-290
|
||
|
- Increase release to favour standalone package
|
||
|
|
||
|
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:4.8-2
|
||
|
- Perl 5.18 rebuild
|
||
|
|
||
|
* Tue May 28 2013 Petr Pisar <ppisar@redhat.com> - 1:4.8-1
|
||
|
- 4.8 bump
|
||
|
|
||
|
* Thu Feb 28 2013 Petr Pisar <ppisar@redhat.com> - 1:4.7-1
|
||
|
- 4.7 bump
|
||
|
|
||
|
* Thu Jan 24 2013 Petr Pisar <ppisar@redhat.com> 1:4.6-1
|
||
|
- Specfile autogenerated by cpanspec 1.78.
|