Update to 0.13

- New upstream release 0.13
  - Don't run pod tests on user installs
  - Stop using Module::Install to fix installation when @INC doesn't have the
    current directory (CPAN RT#119016)
  - Repository migrated to the github moose organization
- This release by HAARG → update source URL
- Simplify find command using -delete
This commit is contained in:
Paul Howarth 2017-03-29 10:14:08 +01:00
parent 1b15d44447
commit 13cfd3efff
3 changed files with 27 additions and 15 deletions

2
.rpmlint Normal file
View File

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error %description -l en_US namespace -> ");

View File

@ -1,36 +1,37 @@
# MRO is part of the Perl core since 5.9.5
%if 0%{?rhel} && (0%{?rhel} < 6)
%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.12
Release: 13%{?dist}
Version: 0.13
Release: 1%{?dist}
Summary: Mro::* interface compatibility for Perls < 5.9.5
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/MRO-Compat/
Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MRO-Compat-%{version}.tar.gz
Source0: http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/MRO-Compat-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
# 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
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
# Runtime
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%if ! %{mro_in_core}
Requires: perl(Class::C3) >= 0.24
@ -64,8 +65,8 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
@ -74,11 +75,20 @@ make test
rm -rf %{buildroot}
%files
%doc ChangeLog README t/
%doc Changes README t/
%{perl_vendorlib}/MRO/
%{_mandir}/man3/MRO::Compat.3pm*
%{_mandir}/man3/MRO::Compat.3*
%changelog
* Wed Mar 29 2017 Paul Howarth <paul@city-fan.org> - 0.13-1
- Update to 0.13
- Don't run pod tests on user installs
- Stop using Module::Install to fix installation when @INC doesn't have the
current directory (CPAN RT#119016)
- Repository migrated to the github moose organization
- This release by HAARG update source URL
- Simplify find command using -delete
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

View File

@ -1 +1 @@
06d21a3baf3d578ff3d3e10621656530 MRO-Compat-0.12.tar.gz
SHA512 (MRO-Compat-0.13.tar.gz) = 3311c37c8fc73acaf68bae2b12315a448a87de8f756e817c967cf49b753cf218e8c762ecc44890297afd82193d71b2407060db0bc70720d228b31c0a30de10c1