Update to 0.012

- New upstream release 0.012
  - Allow an argument to install_map with source dirs
  - Make tests prove and 5.6 friendly
- Release tests moved to xt/, so don't bother with them
- Simplify find command using -delete
- Drop EL-5 support
  - Drop Group: tag
  - Drop explicit buildroot cleaning in %install section
This commit is contained in:
Paul Howarth 2018-05-11 11:53:13 +01:00
parent b4b4ad3117
commit 81ffa3951c
3 changed files with 23 additions and 23 deletions

2
.rpmlint Normal file
View File

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error %description -l en_US (destdir|installable|tmp) -> ")

View File

@ -1,15 +1,17 @@
Name: perl-ExtUtils-InstallPaths
Version: 0.011
Release: 12%{?dist}
Version: 0.012
Release: 1%{?dist}
Summary: Build.PL install path logic made easy
Group: Development/Libraries
License: GPL+ or Artistic
URL: https://metacpan.org/release/ExtUtils-InstallPaths
Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: perl-interpreter
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
# Module
BuildRequires: perl(Carp)
@ -21,17 +23,7 @@ BuildRequires: perl(warnings)
BuildRequires: perl(Config)
BuildRequires: perl(File::Spec::Functions) >= 0.83
BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::More)
# Release Tests
# perl-Pod-Coverage-TrustPod → perl-Pod-Eventual → perl-Mixin-Linewise →
# perl-YAML-Tiny → perl-Module-Build-Tiny → perl-ExtUtils-InstallPaths
%if 0%{!?perl_bootstrap:1} && ( 0%{?rhel} > 6 || 0%{?fedora} )
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
%endif
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -55,17 +47,12 @@ perl Makefile.PL INSTALLDIRS=vendor
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
%if 0%{!?perl_bootstrap:1} && ( 0%{?rhel} > 6 || 0%{?fedora} )
make test RELEASE_TESTING=1
%else
make test
%endif
%files
%if 0%{?_licensedir:1}
@ -73,11 +60,22 @@ make test
%else
%doc LICENSE
%endif
%doc Changes README
%doc Changes
%{perl_vendorlib}/ExtUtils/
%{_mandir}/man3/ExtUtils::InstallPaths.3*
%changelog
* Fri May 11 2018 Paul Howarth <paul@city-fan.org> - 0.012-1
- Update to 0.012
- Allow an argument to install_map with source dirs
- Make tests prove and 5.6 friendly
- Release tests moved to xt/, so don't bother with them
- Simplify find command using -delete
- Drop EL-5 support
- Drop BuildRoot: and Group: tags
- Drop explicit buildroot cleaning in %%install section
- Drop explicit %%clean section
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.011-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
9c75894c3c8c899ab6bfafc5eaa97999 ExtUtils-InstallPaths-0.011.tar.gz
SHA512 (ExtUtils-InstallPaths-0.012.tar.gz) = 92a4e9ebb387d330ae67b0716b96b27165d08503d2915d8301b3a6aa185f962940e761d21fd400033e6a814e276918e0662da3740ca2852a53cf0fe54f3d7660