Hello community,
here is the log from the commit of package python-configargparse for
openSUSE:Leap:15.2 checked in at 2020-04-25 19:06:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-configargparse (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-configargparse.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-configargparse"
Sat Apr 25 19:06:14 2020 rev:14 rq:797130 version:1.0
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-configargparse/python-configargparse.changes
2020-03-13 10:59:19.164517853 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-configargparse.new.2738/python-configargparse.changes
2020-04-25 19:06:16.191748616 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 11:15:11 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-configargparse.spec ++++++
--- /var/tmp/diff_new_pack.zbHIyF/_old 2020-04-25 19:06:16.555749399 +0200
+++ /var/tmp/diff_new_pack.zbHIyF/_new 2020-04-25 19:06:16.559749408 +0200
@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
Name: python-configargparse
Version: 1.0
Release: 0
@@ -31,11 +32,13 @@
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRequires: python2-devel
-BuildRequires: python2-unittest2
Requires: python-PyYAML
Requires: python-setuptools
BuildArch: noarch
+%if %{with python2}
+BuildRequires: python2-devel
+BuildRequires: python2-unittest2
+%endif
%python_subpackages
%description