Modernize spec.

epel9
Ralf Corsépius 9 years ago
parent 695cb1c164
commit 654d134109

@ -1,6 +1,6 @@
Name: perl-Test-MinimumVersion
Version: 0.101082
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Check whether your code requires a newer perl
License: GPL+ or Artistic
Group: Development/Libraries
@ -33,13 +33,11 @@ Check whether your code requires a newer perl than you think.
find -type f -exec chmod -x {} \;
%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 -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
@ -52,6 +50,9 @@ make test
%{_mandir}/man3/*
%changelog
* Sun Jan 31 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.101082-2
- Modernize spec.
* Tue Dec 08 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.101082-1
- Update to 0.101082.
- Reflect upstream BR: changes.

Loading…
Cancel
Save