Hello community,

here is the log from the commit of package python-zeroconf for openSUSE:Factory 
checked in at 2017-04-17 10:25:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zeroconf (Old)
 and      /work/SRC/openSUSE:Factory/.python-zeroconf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zeroconf"

Mon Apr 17 10:25:17 2017 rev:4 rq:481018 version:0.18.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zeroconf/python-zeroconf.changes  
2017-02-19 01:03:57.478920065 +0100
+++ /work/SRC/openSUSE:Factory/.python-zeroconf.new/python-zeroconf.changes     
2017-04-17 10:25:25.801702168 +0200
@@ -1,0 +2,10 @@
+Sat Mar 18 12:46:41 UTC 2017 - [email protected]
+
+- Remove .changes file from source (not needed).
+
+-------------------------------------------------------------------
+Sat Mar 18 00:27:42 UTC 2017 - [email protected]
+
+- Convert package to python singlespec
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-zeroconf.spec ++++++
--- /var/tmp/diff_new_pack.8qhMf2/_old  2017-04-17 10:25:26.573592853 +0200
+++ /var/tmp/diff_new_pack.8qhMf2/_new  2017-04-17 10:25:26.573592853 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-zeroconf
 Version:        0.18.0
 Release:        0
@@ -26,15 +27,17 @@
 Source:         
https://pypi.io/packages/source/z/zeroconf/zeroconf-%{version}.tar.gz
 # 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
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
+%ifpython2
 Requires:       python-enum34
+%endif
 Requires:       python-netifaces
 Requires:       python-six
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} > 1110
 BuildArch:      noarch
-%endif
+
+%python_subpackages
 
 %description
 This is a fork of pyzeroconf, a Multicast DNS Service Discovery for Python.
@@ -48,12 +51,12 @@
 %patch -p1
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
-%files
+%files %python_files
 %defattr(-,root,root,-)
 %doc README.rst
 %{python_sitelib}/*


Reply via email to