Hello community, here is the log from the commit of package python-ifaddr for openSUSE:Leap:15.2 checked in at 2020-04-25 19:06:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-ifaddr (Old) and /work/SRC/openSUSE:Leap:15.2/.python-ifaddr.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ifaddr" Sat Apr 25 19:06:27 2020 rev:5 rq:797166 version:0.1.6 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-ifaddr/python-ifaddr.changes 2020-03-09 18:06:24.824848737 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-ifaddr.new.2738/python-ifaddr.changes 2020-04-25 19:06:28.303774654 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 11:47:26 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ifaddr.spec ++++++ --- /var/tmp/diff_new_pack.3qmHGn/_old 2020-04-25 19:06:28.607775307 +0200 +++ /var/tmp/diff_new_pack.3qmHGn/_new 2020-04-25 19:06:28.611775316 +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