[perl-File-NFSLock/el5] - Update to 1.21. - Merge some spec changes from Rawhide.
xavierb
xavierb at fedoraproject.org
Mon Jun 23 21:57:33 UTC 2014
commit b694eb70cbeb11c19b01986366e521b59b1f9cec
Author: Xavier Bachelot <xavier at bachelot.org>
Date: Mon Jun 23 23:57:10 2014 +0200
- Update to 1.21.
- Merge some spec changes from Rawhide.
.gitignore | 1 +
nobranch | 1 -
perl-File-NFSLock.spec | 37 ++++++++++++++++++++-----------------
sources | 2 +-
4 files changed, 22 insertions(+), 19 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 1606b77..31ea1ee 100644
--- a/perl-File-NFSLock.spec
+++ b/perl-File-NFSLock.spec
@@ -1,18 +1,22 @@
Name: perl-File-NFSLock
-Version: 1.20
-Release: 2%{?dist}.1
+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
+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)
+BuildRequires: perl(Test::More)
+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.
@@ -27,28 +31,23 @@ 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/*
-
+rm -rf %{buildroot}
+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
-
+rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
@@ -58,6 +57,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Jun 23 2014 Xavier Bachelot <xavier at bachelot.org> 1.21-1
+- Update to 1.21.
+- Merge some spec changes from Rawhide.
+
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa at redhat.com> 1.20-2.1
- correct license tag
- add BR: perl(ExtUtils::MakeMaker)
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
More information about the scm-commits
mailing list