Modernize spec.

f38
Ralf Corsépius 9 years ago
parent 6c357c5833
commit d88dfd478c

@ -1,6 +1,6 @@
Name: perl-Sort-Versions Name: perl-Sort-Versions
Version: 1.62 Version: 1.62
Release: 1%{?dist} Release: 2%{?dist}
Summary: Perl module for sorting of revision-like numbers Summary: Perl module for sorting of revision-like numbers
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -28,14 +28,11 @@ undoubtedly be found.
%setup -q -n Sort-Versions-%{version} %setup -q -n Sort-Versions-%{version}
%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 -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check
@ -48,6 +45,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Sat Jan 30 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.62-2
- Modernize spec.
* Thu Dec 17 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.62-1 * Thu Dec 17 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.62-1
- Update to 1.62. - Update to 1.62.
- Remove iconv. - Remove iconv.

Loading…
Cancel
Save