Update to 0.15
- New upstream release 0.15 - Optimize pure perl DFS inheritance calculation on perl 5.8 - Fix function prototypes to match core functions - Pod formatting fix - Package new LICENSE file - Drop redundant buildroot cleaning in %install section - Drop support for old perls without mro support in core
This commit is contained in:
parent
7f1a37dd89
commit
e263fe5dbd
@ -1,2 +0,0 @@
|
||||
from Config import *
|
||||
addFilter("spelling-error %description -l en_US namespace -> ");
|
||||
@ -1,13 +1,6 @@
|
||||
# MRO is part of the Perl core since 5.9.5
|
||||
%if 0%{?fedora} < 9 && 0%{?rhel} < 6
|
||||
%global mro_in_core 0
|
||||
%else
|
||||
%global mro_in_core 1
|
||||
%endif
|
||||
|
||||
Name: perl-MRO-Compat
|
||||
Version: 0.13
|
||||
Release: 15%{?dist}
|
||||
Version: 0.15
|
||||
Release: 1%{?dist}
|
||||
Summary: Mro::* interface compatibility for Perls < 5.9.5
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/MRO-Compat
|
||||
@ -17,24 +10,16 @@ BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Module
|
||||
%if ! %{mro_in_core}
|
||||
BuildRequires: perl(Class::C3) >= 0.24
|
||||
BuildRequires: perl(Class::C3::XS) >= 0.08
|
||||
%endif
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Test
|
||||
BuildRequires: perl(Test::More) >= 0.47
|
||||
# Dependencies
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
%if ! %{mro_in_core}
|
||||
Requires: perl(Class::C3) >= 0.24
|
||||
Requires: perl(Class::C3::XS) >= 0.08
|
||||
%endif
|
||||
|
||||
%description
|
||||
The "mro" namespace provides several utilities for dealing with method
|
||||
@ -61,7 +46,6 @@ perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} -c %{buildroot}
|
||||
@ -70,11 +54,21 @@ find %{buildroot} -type f -name .packlist -delete
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes README t/
|
||||
%{perl_vendorlib}/MRO/
|
||||
%{_mandir}/man3/MRO::Compat.3*
|
||||
|
||||
%changelog
|
||||
* Sat Jan 8 2022 Paul Howarth <paul@city-fan.org> - 0.15-1
|
||||
- Update to 0.15
|
||||
- Optimize pure perl DFS inheritance calculation on perl 5.8
|
||||
- Fix function prototypes to match core functions
|
||||
- Pod formatting fix
|
||||
- Package new LICENSE file
|
||||
- Drop redundant buildroot cleaning in %%install section
|
||||
- Drop support for old perls without mro support in core
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (MRO-Compat-0.13.tar.gz) = 3311c37c8fc73acaf68bae2b12315a448a87de8f756e817c967cf49b753cf218e8c762ecc44890297afd82193d71b2407060db0bc70720d228b31c0a30de10c1
|
||||
SHA512 (MRO-Compat-0.15.tar.gz) = 0767ea5e98414ce55607c599eecde686fe2defed99ade156ce8db63e508bfcd150aea48952eed7624f969c0ca185652a85eedb8dbcae82b826152d18d4152545
|
||||
|
||||
Loading…
Reference in New Issue
Block a user