forked from pool/python-zc.lockfile
Accepting request 506521 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/506521 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zc.lockfile?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 24 10:53:56 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Update to 1.2.1
|
||||
* Fixed: unlocking and locking didn’t work when a
|
||||
multiprocessing process was running (and presumably other
|
||||
conditions).
|
||||
1.2.0:
|
||||
* Added the ability to include the hostname in the lock file
|
||||
content.
|
||||
* Code and ReST markup cosmetics. [alecghica]
|
||||
|
||||
- Converted to single-spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 3 17:36:14 UTC 2013 - hpj@urpla.net
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-zc.lockfile
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -17,28 +17,26 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-zc.lockfile
|
||||
Version: 1.1.0
|
||||
Version: 1.2.1
|
||||
Release: 0
|
||||
License: ZPL-2.1
|
||||
Summary: Basic inter-process locks
|
||||
Url: http://pypi.python.org/pypi/zc.lockfile
|
||||
License: ZPL-2.1
|
||||
Group: Development/Libraries/Python
|
||||
Source: https://pypi.python.org/packages/source/z/zc.lockfile/zc.lockfile-%{version}.zip
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: unzip
|
||||
Url: https://pypi.python.org/pypi/zc.lockfile
|
||||
Source: https://files.pythonhosted.org/packages/source/z/zc.lockfile/zc.lockfile-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# Testing requirements:
|
||||
BuildRequires: python-zope.testing
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module zope.testing}
|
||||
Provides: python-zc-lockfile = %{version}
|
||||
Obsoletes: python-zc-lockfile < %{version}
|
||||
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
BuildRequires: python
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
The zc.lockfile package provides a basic portable implementation of
|
||||
@@ -51,20 +49,23 @@ files are separate files.
|
||||
|
||||
%prep
|
||||
%setup -q -n zc.lockfile-%{version}
|
||||
rm -rf src/zc.lockfile.egg-info
|
||||
find -name *~ -delete
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
# concatenate both README.txt
|
||||
cat %{buildroot}%{python_sitelib}/zc/lockfile/README.txt >> README.txt
|
||||
rm %{buildroot}%{python_sitelib}/zc/lockfile/README.txt
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
%python_exec setup.py test
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt
|
||||
%{python_sitelib}/*
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1489ff1c4f655420793c46af5b427537e62435b02e83e92d7f74a73ed8a56198
|
||||
size 16645
|
3
zc.lockfile-1.2.1.tar.gz
Normal file
3
zc.lockfile-1.2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:11db91ada7f22fe8aae268d4bfdeae012c4fe655f66bbb315b00822ec00d043e
|
||||
size 12187
|
Reference in New Issue
Block a user