Hello community,
here is the log from the commit of package python-ciscoconfparse for
openSUSE:Factory checked in at 2020-04-23 18:38:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ciscoconfparse (Old)
and /work/SRC/openSUSE:Factory/.python-ciscoconfparse.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ciscoconfparse"
Thu Apr 23 18:38:22 2020 rev:14 rq:796515 version:1.5.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-ciscoconfparse/python-ciscoconfparse.changes
2020-04-13 12:54:42.736685374 +0200
+++
/work/SRC/openSUSE:Factory/.python-ciscoconfparse.new.2738/python-ciscoconfparse.changes
2020-04-23 18:38:26.817007091 +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.aUg0kH/_old 2020-04-23 18:38:28.593010489 +0200
+++ /var/tmp/diff_new_pack.aUg0kH/_new 2020-04-23 18:38:28.597010497 +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