commit 7dd6aa20f98e7a7d9a3d6347b31afe896ef5a887 Author: Tom "spot" Callaway <tcallawa@xxxxxxxxxx> Date: Tue Mar 8 15:51:56 2011 -0500 el5 changes perl-File-FcntlLock.spec | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) --- diff --git a/perl-File-FcntlLock.spec b/perl-File-FcntlLock.spec index f8277a1..5b66b9e 100644 --- a/perl-File-FcntlLock.spec +++ b/perl-File-FcntlLock.spec @@ -1,6 +1,6 @@ Name: perl-File-FcntlLock Version: 0.12 -Release: 1%{?dist} +Release: 1%{?dist}.1 Summary: Perl module for file locking with fcntl Group: Development/Libraries License: GPL+ or Artistic @@ -9,6 +9,7 @@ Source0: http://search.cpan.org/CPAN/authors/id/J/JT/JTT/File-FcntlLock-%{versio BuildRequires: perl(POSIX), perl(Errno), perl(Carp), perl(Exporter), perl(DynaLoader) BuildRequires: perl(ExtUtils::MakeMaker), perl(Config) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %description FcntlLock is a module to do file locking in an object oriented @@ -24,12 +25,16 @@ CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install +rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w %{buildroot}/* +%clean +rm -rf %{buildroot} + %check make test @@ -41,5 +46,8 @@ make test %{_mandir}/man3/*.3pm* %changelog +* Tue Mar 8 2011 Tom Callaway <spot@xxxxxxxxxxxxxxxxx> - 0.12-1.1 +- add el5 specific changes + * Tue Jul 13 2010 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 0.12-1 - initial package -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel