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:
parent
b4b4ad3117
commit
81ffa3951c
2
.rpmlint
Normal file
2
.rpmlint
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
from Config import *
|
||||||
|
addFilter("spelling-error %description -l en_US (destdir|installable|tmp) -> ")
|
@ -1,15 +1,17 @@
|
|||||||
Name: perl-ExtUtils-InstallPaths
|
Name: perl-ExtUtils-InstallPaths
|
||||||
Version: 0.011
|
Version: 0.012
|
||||||
Release: 12%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Build.PL install path logic made easy
|
Summary: Build.PL install path logic made easy
|
||||||
Group: Development/Libraries
|
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: https://metacpan.org/release/ExtUtils-InstallPaths
|
URL: https://metacpan.org/release/ExtUtils-InstallPaths
|
||||||
Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-%{version}.tar.gz
|
Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Build
|
# Build
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: coreutils
|
||||||
|
BuildRequires: findutils
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
# Module
|
# Module
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
@ -21,17 +23,7 @@ BuildRequires: perl(warnings)
|
|||||||
BuildRequires: perl(Config)
|
BuildRequires: perl(Config)
|
||||||
BuildRequires: perl(File::Spec::Functions) >= 0.83
|
BuildRequires: perl(File::Spec::Functions) >= 0.83
|
||||||
BuildRequires: perl(File::Temp)
|
BuildRequires: perl(File::Temp)
|
||||||
BuildRequires: perl(IO::Handle)
|
|
||||||
BuildRequires: perl(IPC::Open3)
|
|
||||||
BuildRequires: perl(Test::More)
|
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
|
# Runtime
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
@ -55,17 +47,12 @@ perl Makefile.PL INSTALLDIRS=vendor
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} -c %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0%{!?perl_bootstrap:1} && ( 0%{?rhel} > 6 || 0%{?fedora} )
|
|
||||||
make test RELEASE_TESTING=1
|
|
||||||
%else
|
|
||||||
make test
|
make test
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%if 0%{?_licensedir:1}
|
%if 0%{?_licensedir:1}
|
||||||
@ -73,11 +60,22 @@ make test
|
|||||||
%else
|
%else
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%endif
|
%endif
|
||||||
%doc Changes README
|
%doc Changes
|
||||||
%{perl_vendorlib}/ExtUtils/
|
%{perl_vendorlib}/ExtUtils/
|
||||||
%{_mandir}/man3/ExtUtils::InstallPaths.3*
|
%{_mandir}/man3/ExtUtils::InstallPaths.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.011-12
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user