Modernize spec.

epel9
Ralf Corsépius 9 years ago
parent 22256804be
commit 1be083eacb

@ -1,6 +1,6 @@
Name: perl-Test-Script
Version: 1.10
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Cross-platform basic tests for scripts
License: GPL+ or Artistic
Group: Development/Libraries
@ -38,15 +38,11 @@ in the bin directory of your Perl distribution.
%setup -q -n Test-Script-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@ -61,6 +57,9 @@ make test
%{_mandir}/man3/*
%changelog
* Sat Jan 30 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.10-5
- Modernize spec.
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

Loading…
Cancel
Save