Accepting request 221721 from home:poeml
- withlock is now distributed as a tarball, which is generally easier for packaging on some platforms (at least Solaris). The only other change: updated copyright year. OBS-URL: https://build.opensuse.org/request/show/221721 OBS-URL: https://build.opensuse.org/package/show/Base:System/withlock?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
ee1518305e
commit
27fd6949fc
3
withlock-0.2.tar.gz
Normal file
3
withlock-0.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9395ecbed705b17db4472b884aa31c28dd14d9727733c9cabe4678483a758cde
|
||||
size 2336
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 21:49:18 UTC 2014 - poeml@cmdline.net
|
||||
|
||||
- withlock is now distributed as a tarball, which is generally
|
||||
easier for packaging on some platforms (at least Solaris). The
|
||||
only other change: updated copyright year.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 27 09:07:26 UTC 2012 - cfarrell@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package withlock
|
||||
#
|
||||
# Copyright (c) 2009-2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 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
|
||||
@@ -15,15 +15,16 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: withlock
|
||||
Version: 0.2
|
||||
Release: 1
|
||||
License: Apache-2.0
|
||||
Release: 0
|
||||
Summary: A locking wrapper script
|
||||
Url: http://code.google.com/p/withlock/
|
||||
License: Apache-2.0
|
||||
Group: System/Management
|
||||
Url: http://code.google.com/p/withlock/
|
||||
Requires: python
|
||||
Source0: %{name}
|
||||
Source0: http://mirrorbrain.org/files/releases/%{name}-%{version}.tar.gz
|
||||
Source1: %name-README.SuSE
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
@@ -38,11 +39,12 @@ never require a cleanup, as after a reboot. Thus, the wrapper is safe and easy
|
||||
to use, and much better than implementing half-hearted locking within scripts.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
#
|
||||
%build
|
||||
#
|
||||
%install
|
||||
install -Dm755 %{SOURCE0} %{buildroot}%{_bindir}/%{name}
|
||||
install -Dm755 withlock %{buildroot}%{_bindir}/%{name}
|
||||
install -Dm644 %{SOURCE1} %{buildroot}%{_defaultdocdir}/%{name}/README.SuSE
|
||||
sed -i "s|/usr/bin/env python|%{_bindir}/python|g" %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
|
Reference in New Issue
Block a user