b49b26
# This file is licensed under the terms of GNU GPLv2+.
b49b26
b49b26
# Run optional tests
b49b26
%if ! (0%{?rhel})
b49b26
%{bcond_without perl_Module_Runtime_enables_optional_test}
b49b26
%else
b49b26
%{bcond_with perl_Module_Runtime_enables_optional_test}
b49b26
%endif
b49b26
b49b26
Name:           perl-Module-Runtime
b49b26
Version:        0.016
b49b26
Release:        13%{?dist}
b49b26
Summary:        Runtime module handling
b49b26
License:        GPL+ or Artistic
b49b26
URL:            https://metacpan.org/release/Module-Runtime
b49b26
Source0:        https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/Module-Runtime-%{version}.tar.gz
b49b26
BuildArch:      noarch
b49b26
BuildRequires:  coreutils
b49b26
BuildRequires:  make
b49b26
BuildRequires:  perl-generators
b49b26
BuildRequires:  perl-interpreter
b49b26
BuildRequires:  perl(:VERSION) >= 5.6
b49b26
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
b49b26
# Tests:
b49b26
BuildRequires:  perl(Math::BigInt)
b49b26
BuildRequires:  perl(strict)
b49b26
BuildRequires:  perl(Test::More) >= 0.41
b49b26
BuildRequires:  perl(warnings)
b49b26
%if %{with perl_Module_Runtime_enables_optional_test}
b49b26
# Optional tests:
b49b26
BuildRequires:  perl(Test::Pod) >= 1.00
b49b26
BuildRequires:  perl(Test::Pod::Coverage)
b49b26
%endif
b49b26
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
b49b26
b49b26
%description
b49b26
The functions exported by this module deal with runtime handling of Perl
b49b26
modules, which are normally handled at compile time.
b49b26
b49b26
%prep
b49b26
%setup -q -n Module-Runtime-%{version}
b49b26
b49b26
%build
b49b26
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
b49b26
make %{?_smp_mflags}
b49b26
b49b26
%install
b49b26
make pure_install DESTDIR=%{buildroot}
b49b26
%{_fixperms} %{buildroot}
b49b26
b49b26
%check
b49b26
make test
b49b26
b49b26
%files
b49b26
%doc Changes README
b49b26
%{perl_vendorlib}/Module/
b49b26
%{_mandir}/man3/Module::Runtime.3*
b49b26
b49b26
%changelog
b49b26
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.016-13
b49b26
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b49b26
  Related: rhbz#1991688
b49b26
b49b26
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.016-12
b49b26
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
b49b26
b49b26
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.016-11
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b49b26
b49b26
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.016-10
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b49b26
b49b26
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.016-9
b49b26
- Perl 5.32 rebuild
b49b26
b49b26
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.016-8
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b49b26
b49b26
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.016-7
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b49b26
b49b26
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.016-6
b49b26
- Perl 5.30 rebuild
b49b26
b49b26
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.016-5
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b49b26
b49b26
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.016-4
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b49b26
b49b26
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.016-3
b49b26
- Perl 5.28 rebuild
b49b26
b49b26
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.016-2
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b49b26
b49b26
* Thu Oct 19 2017 Paul Howarth <paul@city-fan.org> - 0.016-1
b49b26
- 0.016 bump
b49b26
b49b26
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.015-2
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b49b26
b49b26
* Mon Jul 17 2017 Petr Pisar <ppisar@redhat.com> - 0.015-1
b49b26
- 0.015 bump
b49b26
b49b26
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.014-10
b49b26
- Perl 5.26 rebuild
b49b26
b49b26
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-9
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b49b26
b49b26
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.014-8
b49b26
- Perl 5.24 rebuild
b49b26
b49b26
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-7
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b49b26
b49b26
* Mon Jul 20 2015 Petr Pisar <ppisar@redhat.com> - 0.014-6
b49b26
- Specify all dependencies
b49b26
b49b26
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.014-5
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b49b26
b49b26
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.014-4
b49b26
- Perl 5.22 rebuild
b49b26
b49b26
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.014-3
b49b26
- Perl 5.20 rebuild
b49b26
b49b26
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.014-2
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b49b26
b49b26
* Mon Feb 10 2014 Petr Pisar <ppisar@redhat.com> - 0.014-1
b49b26
- 0.014 bump
b49b26
b49b26
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.013-6
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b49b26
b49b26
* Fri Jul 19 2013 Petr Pisar <ppisar@redhat.com> - 0.013-5
b49b26
- Perl 5.18 rebuild
b49b26
b49b26
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.013-4
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b49b26
b49b26
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.013-3
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b49b26
b49b26
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.013-2
b49b26
- Perl 5.16 rebuild
b49b26
b49b26
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 0.013-1
b49b26
- 0.013 bump
b49b26
b49b26
* Mon Feb 13 2012 Petr Pisar <ppisar@redhat.com> - 0.012-1
b49b26
- 0.012 bump
b49b26
b49b26
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.011-2
b49b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b49b26
b49b26
* Tue Oct 25 2011 Petr Pisar <ppisar@redhat.com> - 0.011-1
b49b26
- 0.011 bump
b49b26
b49b26
* Fri Oct 07 2011 Petr Pisar <ppisar@redhat.com> - 0.010-1
b49b26
- 0.010 bump
b49b26
b49b26
* Wed Oct 05 2011 Petr Pisar <ppisar@redhat.com> - 0.009-1
b49b26
- 0.009 bump
b49b26
- Remove defattr now
b49b26
b49b26
* Fri Jul 22 2011 Petr Sabata <contyk@redhat.com> - 0.008-2
b49b26
- Perl mass rebuild
b49b26
b49b26
* Mon Jul 11 2011 Petr Pisar <ppisar@redhat.com> 0.008-1
b49b26
- Specfile autogenerated by cpanspec 1.78.
b49b26
- Remove BuildRoot and defattr