Hello community,

here is the log from the commit of package python-ciscoconfparse for 
openSUSE:Leap:15.2 checked in at 2020-04-25 19:05:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-ciscoconfparse (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-ciscoconfparse.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ciscoconfparse"

Sat Apr 25 19:05:23 2020 rev:14 rq:797101 version:1.5.3

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-ciscoconfparse/python-ciscoconfparse.changes
    2020-04-14 14:21:41.781306518 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-ciscoconfparse.new.2738/python-ciscoconfparse.changes
  2020-04-25 19:05:24.215636882 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 11:24:02 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-ciscoconfparse.spec ++++++
--- /var/tmp/diff_new_pack.4sfP0x/_old  2020-04-25 19:05:24.539637578 +0200
+++ /var/tmp/diff_new_pack.4sfP0x/_new  2020-04-25 19:05:24.543637587 +0200
@@ -17,12 +17,12 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-ciscoconfparse
 Version:        1.5.3
 Release:        0
 Summary:        Library for parsing, querying and modifying Cisco IOS-style 
configurations
 License:        GPL-3.0-or-later
-Group:          Development/Languages/Python
 URL:            https://github.com/mpenning/ciscoconfparse
 Source:         
https://files.pythonhosted.org/packages/source/c/ciscoconfparse/ciscoconfparse-%{version}.tar.gz
 BuildRequires:  %{python_module colorama}
@@ -34,12 +34,14 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python2-ipaddress
-BuildRequires:  python2-mock
 Requires:       python-colorama
 Requires:       python-dnspython
 Requires:       python-ipaddr
 BuildArch:      noarch
+%if %{with python2}
+BuildRequires:  python2-ipaddress
+BuildRequires:  python2-mock
+%endif
 %python_subpackages
 
 %description


Reply via email to