Spec cleanup.

This commit is contained in:
corsepiu 2005-08-16 16:41:28 +00:00
parent d5163f545e
commit e0c674ade2

View File

@ -1,6 +1,6 @@
Name: perl-File-Find-Rule
Version: 0.28
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Perl module implementing an alternative interface to File::Find
License: Artistic or GPL
Group: Development/Libraries
@ -23,14 +23,13 @@ you to build rules which specify the desired files and directories.
%setup -q -n File-Find-Rule-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
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/*
@ -49,6 +48,9 @@ make test
%{_mandir}/man3/*
%changelog
* Tue Aug 16 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-3
- Spec cleanup.
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-2
- FE re-submission.