forked from pool/python-zdaemon
Accepting request 307359 from home:benoit_monin:branches:devel:languages:python
- update to version 4.1.0 - update project URL - update source URL, tar.gz not available - add new build dependency unzip - declare BuildRoot - declare python_sitelib for SLE11 - fix update-alternatives (post, postun) - remove unwanted shebang of nokill.py - update package documentation and add LICENSE.txt OBS-URL: https://build.opensuse.org/request/show/307359 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zdaemon?expand=0&rev=21
This commit is contained in:
committed by
Git OBS Bridge
parent
094fcb61c1
commit
f82e5808e5
@@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 15 09:19:11 UTC 2015 - benoit.monin@gmx.fr
|
||||
|
||||
- update to version 4.1.0:
|
||||
* Add --version command line option (fixes #4).
|
||||
* kill now accepts signal names, not just numbers (#11).
|
||||
* Restore logreopen as an alias for kill USR2 (removed in version
|
||||
3.0.0 due to lack of tests): #10.
|
||||
* Make logreopen also reopen the transcript log: #9.
|
||||
* Reopen event log on logreopen or reopen_transcript: #8.
|
||||
* Help message for reopen_transcript (#5).
|
||||
* Fix race condition where stop would be ignored if the daemon
|
||||
manager was waiting before respawning a crashed program. #13.
|
||||
* Partially fix delayed deadlock when the transcript file runs
|
||||
into a full disk (#1).
|
||||
* Fix test suite leaving stale processes behind (#7).
|
||||
- additional changes from version 4.0.1:
|
||||
* Add support for PyPy. (PyPy3 is pending release of a fix for:
|
||||
https://bitbucket.org/pypy/pypy/issue/1946)
|
||||
* Add support for Python 3.4.
|
||||
* Add -t/--transcript command line option.
|
||||
* zdaemon can now be invoked as a module as in python -m zdaemon
|
||||
- update project URL
|
||||
- update source URL, tar.gz not available
|
||||
- add new build dependency unzip
|
||||
- declare BuildRoot
|
||||
- declare python_sitelib for SLE11
|
||||
- fix update-alternatives (post, postun)
|
||||
- remove unwanted shebang of nokill.py
|
||||
- update package documentation and add LICENSE.txt
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 16 18:16:37 UTC 2014 - os-dev@jacraig.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-zdaemon
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -19,19 +19,25 @@
|
||||
%define modname zdaemon
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 4.0.0
|
||||
Version: 4.1.0
|
||||
Release: 0
|
||||
Summary: Daemon process control library and tools
|
||||
License: ZPL-2.1
|
||||
Group: Development/Languages/Python
|
||||
Url: http://pypi.python.org/pypi/zdaemon
|
||||
Source: https://pypi.python.org/packages/source/z/zdaemon/%{modname}-%{version}.tar.gz
|
||||
Url: https://github.com/zopefoundation/zdaemon
|
||||
Source: https://pypi.python.org/packages/source/z/zdaemon/%{modname}-%{version}.zip
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: update-alternatives
|
||||
Requires(pre): update-alternatives
|
||||
BuildRequires: unzip
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires: python-ZConfig
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
zdaemon is a Python package which provides APIs for managing
|
||||
@@ -42,6 +48,8 @@ although it is not limited to running Python-based applications
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
sed -i "s|%{modname} =|%{modname}-%{py_ver} =|" setup.py
|
||||
# remove unwanted shebang
|
||||
sed -i '1 { /^#!/ d }' src/zdaemon/tests/nokill.py
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
@@ -57,16 +65,16 @@ ln -s -f %{_sysconfdir}/alternatives/%{modname} %{buildroot}/%{_bindir}/%{modnam
|
||||
update-alternatives \
|
||||
--install %{_bindir}/%{modname} %{modname} %{_bindir}/%{modname}-%{py_ver} 20
|
||||
|
||||
%preun
|
||||
%postun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
update-alternatives --remove %{modname} %{_bindir}/%{modname}-%{py_ver}
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.txt CHANGES.txt
|
||||
%doc README.rst CHANGES.rst LICENSE.txt
|
||||
%ghost %{_sysconfdir}/alternatives/%{modname}
|
||||
%{python_sitelib}
|
||||
%{python_sitelib}/*
|
||||
%{_bindir}/%{modname}
|
||||
%{_bindir}/%{modname}-%{py_ver}
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:82d7eaa4d831ff1ecdcffcb274f3457e095c0cc86e630bc72009a863c341ab9f
|
||||
size 55486
|
||||
3
zdaemon-4.1.0.zip
Normal file
3
zdaemon-4.1.0.zip
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:185b374ab49f928bbcdb7572c5cd7c3a9e75324a005ce73dfee4208ce10ab1f9
|
||||
size 74287
|
||||
Reference in New Issue
Block a user