Hello community,

here is the log from the commit of package python-ifaddr for openSUSE:Factory 
checked in at 2020-04-21 13:10:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ifaddr (Old)
 and      /work/SRC/openSUSE:Factory/.python-ifaddr.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ifaddr"

Tue Apr 21 13:10:43 2020 rev:4 rq:795811 version:0.1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ifaddr/python-ifaddr.changes      
2019-03-13 09:15:09.295387199 +0100
+++ /work/SRC/openSUSE:Factory/.python-ifaddr.new.2738/python-ifaddr.changes    
2020-04-21 13:10:44.776821738 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 11:47:26 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-ifaddr.spec ++++++
--- /var/tmp/diff_new_pack.LbwSzf/_old  2020-04-21 13:10:45.408822998 +0200
+++ /var/tmp/diff_new_pack.LbwSzf/_new  2020-04-21 13:10:45.408822998 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ifaddr
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,8 @@
 #
 
 
-%define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-ifaddr
 Version:        0.1.6
 Release:        0
@@ -35,10 +35,12 @@
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module pytest}
+%if %{with python2}
 BuildRequires:  python-ipaddress
+%endif
 # /SECTION
 %ifpython2
-Requires:       %{oldpython}-ipaddress
+Requires:       python-ipaddress
 %endif
 %python_subpackages
 


Reply via email to