forked from pool/python-zeroconf
Accepting request 480969 from home:StefanBruens:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/480969 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
fe6e1f81ea
commit
6e415dadd5
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 18 00:27:42 UTC 2017 - stefan.bruens@rwth-aachen.de
|
||||||
|
|
||||||
|
- Convert package to python singlespec
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 18 10:46:56 UTC 2017 - antoine.belvire@opensuse.org
|
Sat Feb 18 10:46:56 UTC 2017 - antoine.belvire@opensuse.org
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-zeroconf
|
Name: python-zeroconf
|
||||||
Version: 0.18.0
|
Version: 0.18.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -24,17 +25,20 @@ License: LGPL-2.0
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/jstasiak/python-zeroconf
|
Url: https://github.com/jstasiak/python-zeroconf
|
||||||
Source: https://pypi.io/packages/source/z/zeroconf/zeroconf-%{version}.tar.gz
|
Source: https://pypi.io/packages/source/z/zeroconf/zeroconf-%{version}.tar.gz
|
||||||
|
Source99: %{name}.changes
|
||||||
# PATCH-FIX-OPENSUSE python-zeroconf-0.17.4-enum34-instead-of-enum-compat.patch -- replace enum-compat by enum34 (picked from Debian)
|
# PATCH-FIX-OPENSUSE python-zeroconf-0.17.4-enum34-instead-of-enum-compat.patch -- replace enum-compat by enum34 (picked from Debian)
|
||||||
Patch: python-zeroconf-0.17.4-enum34-instead-of-enum-compat.patch
|
Patch: python-zeroconf-0.17.4-enum34-instead-of-enum-compat.patch
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-rpm-macros
|
||||||
|
%ifpython2
|
||||||
Requires: python-enum34
|
Requires: python-enum34
|
||||||
|
%endif
|
||||||
Requires: python-netifaces
|
Requires: python-netifaces
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} > 1110
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a fork of pyzeroconf, a Multicast DNS Service Discovery for Python.
|
This is a fork of pyzeroconf, a Multicast DNS Service Discovery for Python.
|
||||||
@@ -48,12 +52,12 @@ does not force you to use a particular event loop or python-twisted.
|
|||||||
%patch -p1
|
%patch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
|
||||||
%files
|
%files %python_files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|||||||
Reference in New Issue
Block a user