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:
Stephan Kulow
2015-04-17 09:58:46 +00:00
committed by Git OBS Bridge
parent 9fb21d3f76
commit db9060f23f
5 changed files with 77 additions and 36 deletions

View File

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

View File

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

20
cpanspec.yml Normal file
View 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

View File

@@ -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 Tue Jun 14 23:14:14 CET 2011 - pascal.bleser@opensuse.org

View File

@@ -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 Name: perl-Lazy-Lockfile
Version: 1.17 Version: 1.22
Release: 0 Release: 0
Summary: Simple Locking Module for Perl %define cpan_name Lazy-Lockfile
Source: http://search.cpan.org/CPAN/authors/id/J/JE/JEAGLE/Lazy-Lockfile-%{version}.tar.gz Summary: File based locking for the lazy
URL: http://search.cpan.org/dist/Lazy-Lockfile License: CHECK(GPL-1.0+ or Artistic-1.0)
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic) Url: http://search.cpan.org/dist/Lazy-Lockfile/
BuildRoot: %{_tmppath}/build-%{name}-%{version} Source0: http://www.cpan.org/authors/id/J/JE/JEAGLE/%{cpan_name}-%{version}.tar.gz
%{perl_requires} Source1: cpanspec.yml
BuildRequires: perl-macros
%if 0%{?suse_version} >= 1120
BuildArch: noarch BuildArch: noarch
%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description %description
Lazy::Lockfile is a module designed for simple locking, requiring very Lazy::Lockfile is a module designed for simple locking through the use of
little of the user. Once the object is instanced, the lock will be held as lockfiles, requiring very little effort on the part of the developer. Once
long as object is in scope. When the object is destroyed, the lock is the object is instanced, the lock will be held as long as object exists.
released. When the object is destroyed, the lock is released.
Lazy::Lockfile is smart enough to detect stale lockfiles from PIDs no Locks are based around the existence of a named file, not around the use of
longer on the system. 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 %prep
%setup -q -n "Lazy-Lockfile-%{version}" %setup -q -n %{cpan_name}-%{version}
%__sed -i '/^auto_install/d' Makefile.PL find . -type f -print0 | xargs -0 chmod 644
find . -type f -exec %__chmod 0644 {} \;
%build %build
%__perl Makefile.PL PREFIX="%{_prefix}" %{__perl} Makefile.PL INSTALLDIRS=vendor
%__make %{?_smp_flags} %{__make} %{?_smp_mflags}
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%check %files -f %{name}.files
%__make test %defattr(-,root,root,755)
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc README %doc README
%dir %{perl_vendorlib}/Lazy
%{perl_vendorlib}/Lazy/Lockfile.pm
%doc %{perl_man3dir}/Lazy::Lockfile.%{perl_man3ext}%{ext_man}
%changelog