8
0
Stephan Kulow
2011-07-14 07:19:30 +00:00
committed by Git OBS Bridge
parent 6329e9b584
commit d2f4cb2acd
4 changed files with 51 additions and 46 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f85678bd3c85dc5ed76c4fe3f9eb0091ad27606265fe6f519e4fd09fe04c07c
size 12039

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eac63d0bb3144527044478556ba7a47dedd010f95b29491af07652697c8a3b9c
size 12753

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 14 07:13:31 UTC 2011 - coolo@novell.com
- regenerate with cpanspec
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 1 13:33:19 UTC 2010 - coolo@novell.com Wed Dec 1 13:33:19 UTC 2010 - coolo@novell.com

View File

@@ -1,66 +1,66 @@
# #
# spec file for package perl-LockFile-Simple # spec file for package perl-LockFile-Simple (Version 0.207)
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild Name: perl-LockFile-Simple
Version: 0.207
Name: perl-LockFile-Simple Release: 1
%define real_name LockFile-Simple # MANUAL
Summary: Simple file locking scheme License: GPL2+ or Artistic
Url: http://search.cpan.org/perldoc?LockFile::Simple %define cpan_name LockFile-Simple
Group: Development/Libraries/Perl Summary: simple file locking scheme
License: Artistic License Url: http://search.cpan.org/dist/LockFile-Simple/
Version: 0.207 Group: Development/Libraries/Perl
Release: 1 Source: http://www.cpan.org/authors/id/J/JV/JV/%{cpan_name}-%{version}.tar.gz
Vendor: openSUSE-Education BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{real_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
%{perl_requires}
%description %description
This simple locking scheme is not based on any file locking system calls such This simple locking scheme is not based on any file locking system calls
as flock() or lockf() but rather relies on basic file system primitives and such as 'flock()' or 'lockf()' but rather relies on basic file system
properties, such as the atomicity of the write() system call. It is not meant primitives and properties, such as the atomicity of the 'write()' system
to be exempt from all race conditions, especially over NFS. The algorithm used call. It is not meant to be exempt from all race conditions, especially
is described below in the ALGORITHM section. over NFS. The algorithm used is described below in the *ALGORITHM* section.
It is possible to customize the locking operations to attempt locking once It is possible to customize the locking operations to attempt locking once
every 5 seconds for 30 times, or delete stale locks (files that are deemed too every 5 seconds for 30 times, or delete stale locks (files that are deemed
ancient) before attempting the locking. too ancient) before attempting the locking.
Author:
-------
Raphael Manfredi <Raphael_Manfredi@pobox.com>
%prep %prep
%setup -n %{real_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?jobs:-j%jobs} %{__make} %{?_smp_mflags}
%check %check
make test %{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%clean %clean
rm -rf %{buildroot} %{__rm} -rf %{buildroot}
%files %files -f %{name}.files
%defattr(-, root, root) %defattr(-,root,root,755)
%doc ChangeLog README MANIFEST %doc ChangeLog README
%doc %{_mandir}/man?/*
%dir %{perl_vendorarch}/auto/LockFile
%dir %{perl_vendorarch}/auto/LockFile/Simple
%dir %{perl_vendorlib}/LockFile
%dir %{perl_vendorlib}/LockFile/Lock
%{perl_vendorlib}/LockFile/*.pm
%{perl_vendorlib}/LockFile/Lock/*.pm
%changelog %changelog