forked from pool/python-python-daemon
- Correctly provide/obsolete python-daemon
- Spec file cleanup OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
e9e1448bd6
commit
694df96fdc
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 23 14:03:24 UTC 2012 - saschpe@suse.de
|
||||
|
||||
- Correctly provide/obsolete python-daemon
|
||||
- Spec file cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 18 09:00:59 UTC 2012 - bwiedemann@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-daemon
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 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
|
||||
@@ -28,16 +28,15 @@ Source: python-daemon-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: python-minimock
|
||||
Provides: python-daemon
|
||||
BuildRequires: python-MiniMock
|
||||
Requires: python-lockfile
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
Provides: python-daemon = %{version}
|
||||
Obsoletes: python-daemon < %{version}
|
||||
%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
|
||||
%endif
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
%description
|
||||
This library implements the well-behaved daemon specification of PEP 3143, "Standard daemon
|
||||
|
Reference in New Issue
Block a user