|
|
|
@ -1,18 +1,16 @@
|
|
|
|
|
Name: perl-Test-Portability-Files
|
|
|
|
|
Version: 0.09
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.10
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Check file names portability
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Test-Portability-Files
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/A/AB/ABRAXXA/Test-Portability-Files-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
# Runtime
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(ExtUtils::Manifest)
|
|
|
|
@ -41,12 +39,11 @@ a distribution can select which tests to execute.
|
|
|
|
|
%setup -q -n Test-Portability-Files-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -59,6 +56,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/Test::Portability::Files.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 07 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-1
|
|
|
|
|
- 0.10 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|