Spec cleanup

This commit is contained in:
corsepiu 2005-08-16 17:19:12 +00:00
parent 7b2fc6672e
commit fa6e25f96f

View File

@ -1,6 +1,6 @@
Name: perl-Text-Glob
Version: 0.06
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Perl module to match globbing patterns against text
License: Artistic or GPL
Group: Development/Libraries
@ -21,14 +21,13 @@ want to do full file globbing use the File::Glob module instead.
%setup -q -n Text-Glob-%{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/*
@ -45,6 +44,9 @@ make test
%{_mandir}/man3/*
%changelog
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.06-3
- Spec cleanup.
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.06-2
- FE resubmission.