1
0

Compare commits

...

10 Commits

Author SHA256 Message Date
Stephan Kulow
c4440b737c Accepting request 184544 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/184544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-LockFile-Simple?expand=0&rev=7
2013-07-29 15:49:20 +00:00
Stephan Kulow
5d615eb5c6 - updated to 0.208
Fix deprecated defined(@array) for Perl 5.16

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-LockFile-Simple?expand=0&rev=9
2013-07-26 18:35:43 +00:00
Stephan Kulow
beda0bae90 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-LockFile-Simple?expand=0&rev=4
2011-12-06 17:43:49 +00:00
Sascha Peilicke
f01343151c Autobuild autoformatter for 76222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-LockFile-Simple?expand=0&rev=2
2011-07-19 13:54:53 +00:00
Sascha Peilicke
8e08a25db9 Accepting request 76222 from devel:languages:perl
needed cboltz

OBS-URL: https://build.opensuse.org/request/show/76222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-LockFile-Simple?expand=0&rev=1
2011-07-19 13:54:41 +00:00
Stephan Kulow
d2f4cb2acd - regenerate with cpanspec
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-LockFile-Simple?expand=0&rev=7
2011-07-14 07:19:30 +00:00
Stephan Kulow
6329e9b584 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-LockFile-Simple?expand=0&rev=6
2010-12-03 14:41:00 +00:00
Stephan Kulow
d6dec8fa0d siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-LockFile-Simple?expand=0&rev=5
2010-12-01 13:48:20 +00:00
Stephan Kulow
1488246386 - remove /var/adm/perl-modules
- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-LockFile-Simple?expand=0&rev=4
2010-11-29 18:56:47 +00:00
Stephan Kulow
3f0d95ee49 remove .packlist file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-LockFile-Simple?expand=0&rev=3
2010-11-28 11:43:16 +00:00
4 changed files with 75 additions and 48 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:45c77896b2a5a0a45f6202a6f813f437ff8b283f84a1c60d0c4f3730802af3a2
size 13219

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Fri Jul 26 18:33:49 UTC 2013 - coolo@suse.com
- updated to 0.208
Fix deprecated defined(@array) for Perl 5.16
-------------------------------------------------------------------
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
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:30:24 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Sun Nov 28 11:37:52 UTC 2010 - coolo@novell.com
- remove .packlist file
-------------------------------------------------------------------
Tue Oct 19 08:38:44 UTC 2010 - coolo@novell.com

View File

@@ -1,67 +1,68 @@
#
# spec file for package perl-LockFile-Simple
#
# Copyright (c) 2013 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.
# norootforbuild
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-LockFile-Simple
%define real_name LockFile-Simple
Summary: Simple file locking scheme
Url: http://search.cpan.org/perldoc?LockFile::Simple
Group: Development/Libraries/Perl
License: Artistic License
Version: 0.207
Release: 1
Vendor: openSUSE-Education
Source: %{real_name}-%{version}.tar.bz2
Requires: perl = %{perl_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# MANUAL license
Name: perl-LockFile-Simple
Version: 0.208
Release: 0
%define cpan_name LockFile-Simple
Summary: Simple file locking scheme
License: GPL-2.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/LockFile-Simple/
Source: http://www.cpan.org/authors/id/S/SC/SCHWIGON/lockfile-simple/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
#BuildRequires: perl(LockFile::Lock)
#BuildRequires: perl(LockFile::Lock::Simple)
#BuildRequires: perl(LockFile::Manager)
#BuildRequires: perl(LockFile::Simple)
%{perl_requires}
%description
This simple locking scheme is not based on any file locking system calls such
as flock() or lockf() but rather relies on basic file system primitives and
properties, such as the atomicity of the write() system call. It is not meant
to be exempt from all race conditions, especially over NFS. The algorithm used
is described below in the ALGORITHM section.
This simple locking scheme is not based on any file locking system calls
such as 'flock()' or 'lockf()' but rather relies on basic file system
primitives and properties, such as the atomicity of the 'write()' system
call. It is not meant to be exempt from all race conditions, especially
over NFS. The algorithm used is described below in the *ALGORITHM* section.
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
ancient) before attempting the locking.
Author:
-------
Raphael Manfredi <Raphael_Manfredi@pobox.com>
every 5 seconds for 30 times, or delete stale locks (files that are deemed
too ancient) before attempting the locking.
%prep
%setup -n %{real_name}-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
make test
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc ChangeLog README
%files
%defattr(-, root, root)
%doc ChangeLog README MANIFEST
%doc %{_mandir}/man?/*
%dir %{perl_vendorarch}/auto/LockFile
%dir %{perl_vendorarch}/auto/LockFile/Simple
%dir %{perl_vendorlib}/LockFile
%dir %{perl_vendorlib}/LockFile/Lock
%{perl_vendorarch}/auto/LockFile/Simple/.packlist
%{perl_vendorlib}/LockFile/*.pm
%{perl_vendorlib}/LockFile/Lock/*.pm
/var/adm/perl-modules/%{name}
%changelog
%changelog