Modernize spec.

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

@ -1,6 +1,6 @@
Name: perl-Test-MinimumVersion Name: perl-Test-MinimumVersion
Version: 0.101082 Version: 0.101082
Release: 1%{?dist} Release: 2%{?dist}
Summary: Check whether your code requires a newer perl Summary: Check whether your code requires a newer perl
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -33,13 +33,11 @@ Check whether your code requires a newer perl than you think.
find -type f -exec chmod -x {} \; find -type f -exec chmod -x {} \;
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT 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/* chmod -R u+w $RPM_BUILD_ROOT/*
%check %check
@ -52,6 +50,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %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 * Tue Dec 08 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.101082-1
- Update to 0.101082. - Update to 0.101082.
- Reflect upstream BR: changes. - Reflect upstream BR: changes.

Loading…
Cancel
Save