Accepting request 297620 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/297620 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Lazy-Lockfile?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
9fb21d3f76
commit
db9060f23f
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd2299b69def0de048be11b87081db1e5ffaeae7575d4c1e45fc17786de1c4b0
|
||||
size 4470
|
3
Lazy-Lockfile-1.22.tar.gz
Normal file
3
Lazy-Lockfile-1.22.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:343a1e6523b7b5083eb3cd3b8309a4d0f8bf6e90d003294bc4a1f255afe82330
|
||||
size 5746
|
20
cpanspec.yml
Normal file
20
cpanspec.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: -
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 17 08:54:14 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.22
|
||||
see /usr/share/doc/packages/perl-Lazy-Lockfile/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 14 23:14:14 CET 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
|
@@ -1,52 +1,67 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
#
|
||||
# spec file for package perl-Lazy-Lockfile
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX 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/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Lazy-Lockfile
|
||||
Version: 1.17
|
||||
Version: 1.22
|
||||
Release: 0
|
||||
Summary: Simple Locking Module for Perl
|
||||
Source: http://search.cpan.org/CPAN/authors/id/J/JE/JEAGLE/Lazy-Lockfile-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/Lazy-Lockfile
|
||||
%define cpan_name Lazy-Lockfile
|
||||
Summary: File based locking for the lazy
|
||||
License: CHECK(GPL-1.0+ or Artistic-1.0)
|
||||
Group: Development/Libraries/Perl
|
||||
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
%{perl_requires}
|
||||
BuildRequires: perl-macros
|
||||
%if 0%{?suse_version} >= 1120
|
||||
Url: http://search.cpan.org/dist/Lazy-Lockfile/
|
||||
Source0: http://www.cpan.org/authors/id/J/JE/JEAGLE/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Lazy::Lockfile is a module designed for simple locking, requiring very
|
||||
little of the user. Once the object is instanced, the lock will be held as
|
||||
long as object is in scope. When the object is destroyed, the lock is
|
||||
released.
|
||||
Lazy::Lockfile is a module designed for simple locking through the use of
|
||||
lockfiles, requiring very little effort on the part of the developer. Once
|
||||
the object is instanced, the lock will be held as long as object exists.
|
||||
When the object is destroyed, the lock is released.
|
||||
|
||||
Lazy::Lockfile is smart enough to detect stale lockfiles from PIDs no
|
||||
longer on the system.
|
||||
Locks are based around the existence of a named file, not around the use of
|
||||
the flock manpage (though flock is used to synchronize access to the lock
|
||||
file). Lazy::Lockfile is (usually) smart enough to detect stale lockfiles
|
||||
from PIDs no longer running by placing the PID of the process holding the
|
||||
lock inside the lockfile.
|
||||
|
||||
%prep
|
||||
%setup -q -n "Lazy-Lockfile-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
find . -type f -exec %__chmod 0644 {} \;
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?_smp_flags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%check
|
||||
%__make test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc README
|
||||
%dir %{perl_vendorlib}/Lazy
|
||||
%{perl_vendorlib}/Lazy/Lockfile.pm
|
||||
%doc %{perl_man3dir}/Lazy::Lockfile.%{perl_man3ext}%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user