Hello community,

here is the log from the commit of package python-yubico for openSUSE:Factory 
checked in at 2017-11-21 15:36:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-yubico (Old)
 and      /work/SRC/openSUSE:Factory/.python-yubico.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-yubico"

Tue Nov 21 15:36:09 2017 rev:4 rq:544132 version:1.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-yubico/python-yubico.changes      
2016-02-29 09:15:54.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-yubico.new/python-yubico.changes 
2017-11-21 15:37:30.662036998 +0100
@@ -1,0 +2,5 @@
+Thu Nov 16 07:35:02 UTC 2017 - t.gru...@katodev.de
+
+- add multi-python support
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-yubico.spec ++++++
--- /var/tmp/diff_new_pack.8vHWzF/_old  2017-11-21 15:37:31.290014244 +0100
+++ /var/tmp/diff_new_pack.8vHWzF/_new  2017-11-21 15:37:31.294014099 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-yubico
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,11 +16,8 @@
 #
 
 
-%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
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without test
 Name:           python-yubico
 Version:        1.3.2
 Release:        0
@@ -30,11 +27,15 @@
 Url:            https://developers.yubico.com/python-yubico/Releases/
 Source:         
https://developers.yubico.com/python-yubico/Releases/python-yubico-%{version}.tar.gz
 Source1:        
https://developers.yubico.com/python-yubico/Releases/python-yubico-%{version}.tar.gz.sig
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-usb
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module usb}
+BuildRequires:  python-rpm-macros
 Requires:       python-usb
+BuildRequires:  fdupes
+BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%python_subpackages
 
 %description
 The YubiKey is a hardware token for authentication. The main mode of the 
YubiKey
@@ -51,12 +52,13 @@
 %setup -q
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc README ChangeLog COPYING NEWS
 %{python_sitelib}/*



Reply via email to