commit 8f7d9a640a689fdd8d8110c56a739f1522f9ab31 Author: Petr Sabata <contyk@xxxxxxxxxx> Date: Thu Jul 14 13:23:42 2011 +0200 1.21 bump, general cleanup .gitignore | 1 + perl-File-NFSLock.spec | 39 ++++++++++++++++++--------------------- sources | 2 +- 3 files changed, 20 insertions(+), 22 deletions(-) --- diff --git a/.gitignore b/.gitignore index ae84977..60d57aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ File-NFSLock-1.20.tar.gz +/File-NFSLock-1.21.tar.gz diff --git a/perl-File-NFSLock.spec b/perl-File-NFSLock.spec index 1b4d53a..9c97725 100644 --- a/perl-File-NFSLock.spec +++ b/perl-File-NFSLock.spec @@ -1,17 +1,20 @@ Name: perl-File-NFSLock -Version: 1.20 -Release: 10%{?dist} +Version: 1.21 +Release: 1%{?dist} Summary: Perl module to do NFS (or not) locking - Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/File-NFSLock Source0: http://search.cpan.org/CPAN/authors/id/B/BB/BBB/File-NFSLock-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch +BuildRequires: perl(base) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(Sys::Hostname) +Requires: perl(Exporter) +Requires: perl(Sys::Hostname) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Program based of concept of hard linking of files being atomic across NFS. @@ -26,37 +29,31 @@ File::NFSLock was written to be light, generic, and fast. %prep %setup -q -n File-NFSLock-%{version} - %build %{__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 d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* - +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* chmod a-x examples/lock_test %check make test - -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) %doc Changes README examples/ %{perl_vendorlib}/* %{_mandir}/man3/*.3* - %changelog +* Thu Jul 14 2011 Petr Sabata <contyk@xxxxxxxxxx> - 1.21-1 +- 1.21 bump +- Removing now obsolete Buildroot and defattr, general cleanup +- Correcting dependencies + * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1.20-10 - Perl mass rebuild diff --git a/sources b/sources index d472227..15f2b61 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -68bddc5e2c32d9748ae689f398fc1147 File-NFSLock-1.20.tar.gz +8067802ce7247d0697d6203e26cb7bd7 File-NFSLock-1.21.tar.gz -- 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