diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..c173b7f --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error %description -l en_US namespace -> "); diff --git a/perl-MRO-Compat.spec b/perl-MRO-Compat.spec index 1c1cdb6..22a8eac 100644 --- a/perl-MRO-Compat.spec +++ b/perl-MRO-Compat.spec @@ -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 - 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 - 0.12-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 99c2d6f..ed8f3d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -06d21a3baf3d578ff3d3e10621656530 MRO-Compat-0.12.tar.gz +SHA512 (MRO-Compat-0.13.tar.gz) = 3311c37c8fc73acaf68bae2b12315a448a87de8f756e817c967cf49b753cf218e8c762ecc44890297afd82193d71b2407060db0bc70720d228b31c0a30de10c1