Spec cleanup

f38
corsepiu 20 years ago
parent 411eb3975f
commit 7472d65b6b

@ -1,6 +1,6 @@
Name: perl-Sort-Versions
Version: 1.5
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Perl module for sorting of revision-like numbers
License: GPL or Artistic
Group: Development/Libraries
@ -9,7 +9,6 @@ Source0: http://www.cpan.org/modules/by-module/Sort/Sort-Versions-%{version}.ta
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@ -33,7 +32,6 @@ make %{?_smp_mflags}
rm -rf $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 f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
@ -50,6 +48,9 @@ make test
%{_mandir}/man3/*
%changelog
* Wed Aug 17 2005 Ralf Corsepius <ralf@links2linux.de> - 1.5-3
- Spec cleanup.
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 1.5-2
- FE re-submission.

Loading…
Cancel
Save