Hello community,

here is the log from the commit of package python-etcd for openSUSE:Factory 
checked in at 2018-04-13 12:51:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-etcd (Old)
 and      /work/SRC/openSUSE:Factory/.python-etcd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-etcd"

Fri Apr 13 12:51:46 2018 rev:2 rq:596021 version:0.4.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-etcd/python-etcd.changes  2017-09-05 
15:19:49.414413025 +0200
+++ /work/SRC/openSUSE:Factory/.python-etcd.new/python-etcd.changes     
2018-04-13 12:52:08.994379395 +0200
@@ -1,0 +2,5 @@
+Thu Apr 12 18:34:09 CEST 2018 - ku...@suse.de
+
+- Convert to singlespec (build python2 and python3 package)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-etcd.spec ++++++
--- /var/tmp/diff_new_pack.x8apaS/_old  2018-04-13 12:52:09.726352876 +0200
+++ /var/tmp/diff_new_pack.x8apaS/_new  2018-04-13 12:52:09.730352731 +0200
@@ -26,19 +26,20 @@
 Url:            https://pypi.python.org/pypi/python-etcd
 Source0:        
https://pypi.python.org/packages/a1/da/616a4d073642da5dd432e5289b7c1cb0963cc5dde23d1ecb8d726821ab41/%{upstream_name}-%{version}.tar.gz
 BuildRequires:  fdupes
-BuildRequires:  python-mock
-BuildRequires:  python-nose
-BuildRequires:  python-setuptools
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module setuptools}
+%ifpython2
 Requires:       python-urllib3 >= 1.7.1
 Requires:       python-dnspython >= 1.13.0
-
-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
+Requires:       python3-urllib3 >= 1.7.1
+Requires:       python3-dnspython >= 1.13.0
 %endif
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildArch:      noarch
+
+%python_subpackages
 
 %description
 A python client for etcd cluster
@@ -58,14 +59,15 @@
 %setup -q -n %{upstream_name}-%{version}
 
 %build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 %fdupes %{buildroot}
 
 %check
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc README.rst
 %dir %{python_sitelib}/*
@@ -73,7 +75,7 @@
 %{python_sitelib}/etcd/*
 %{python_sitelib}/*egg-info/*
 
-%files test
+%files %{python_files test}
 %defattr(-,root,root,-)
 %dir %{python_sitelib}/etcd/tests
 %{python_sitelib}/etcd/tests/*


Reply via email to