Rebuild. Fix find option order. Minor cleanup to more closely match

cpanspec output.
This commit is contained in:
Steven Pritchard 2006-08-28 20:36:27 +00:00
parent 93c5c97917
commit 4df0543dd9
2 changed files with 11 additions and 8 deletions

View File

@ -1 +0,0 @@
http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild

View File

@ -1,13 +1,12 @@
Name: perl-Unix-Syslog
Version: 0.100
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Perl interface to the UNIX syslog(3) calls
License: Artistic
Group: System Environment/Libraries
URL: http://search.cpan.org/dist/Unix-Syslog/
Source0: http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@ -21,16 +20,16 @@ syslog.h should be able to use this module right away.
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile
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' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
@ -42,12 +41,17 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README Artistic
%doc Artistic Changes README
%{perl_vendorarch}/auto/Unix
%{perl_vendorarch}/Unix
%{_mandir}/man3/Unix::Syslog.3pm*
%changelog
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.100-8
- Rebuild.
- Fix find option order.
- Minor cleanup to more closely match cpanspec output.
* Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 0.100-7
- Rebuild.