From 4df0543dd91ace533c698ae45e672a25b8e8e97d Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Mon, 28 Aug 2006 20:36:27 +0000 Subject: [PATCH] Rebuild. Fix find option order. Minor cleanup to more closely match cpanspec output. --- needs.rebuild | 1 - perl-Unix-Syslog.spec | 18 +++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) delete mode 100644 needs.rebuild diff --git a/needs.rebuild b/needs.rebuild deleted file mode 100644 index 815fd29..0000000 --- a/needs.rebuild +++ /dev/null @@ -1 +0,0 @@ -http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild diff --git a/perl-Unix-Syslog.spec b/perl-Unix-Syslog.spec index 5f770d0..9c7154a 100644 --- a/perl-Unix-Syslog.spec +++ b/perl-Unix-Syslog.spec @@ -1,14 +1,13 @@ 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 - -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides an interface to the system logger syslogd(8) via @@ -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 0.100-8 +- Rebuild. +- Fix find option order. +- Minor cleanup to more closely match cpanspec output. + * Sat Feb 18 2006 Steven Pritchard 0.100-7 - Rebuild.