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:
parent
1b15d44447
commit
13cfd3efff
2
.rpmlint
Normal file
2
.rpmlint
Normal file
@ -0,0 +1,2 @@
|
||||
from Config import *
|
||||
addFilter("spelling-error %description -l en_US namespace -> ");
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user