Hello community, here is the log from the commit of package python-configargparse for openSUSE:Factory checked in at 2020-04-23 18:37:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-configargparse (Old) and /work/SRC/openSUSE:Factory/.python-configargparse.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-configargparse" Thu Apr 23 18:37:27 2020 rev:8 rq:796510 version:1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-configargparse/python-configargparse.changes 2020-02-20 15:00:34.318899268 +0100 +++ /work/SRC/openSUSE:Factory/.python-configargparse.new.2738/python-configargparse.changes 2020-04-23 18:37:30.280898932 +0200 @@ -1,0 +2,5 @@ +Thu Apr 23 11:15:11 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-configargparse.spec ++++++ --- /var/tmp/diff_new_pack.UmWTPZ/_old 2020-04-23 18:37:31.164900624 +0200 +++ /var/tmp/diff_new_pack.UmWTPZ/_new 2020-04-23 18:37:31.168900631 +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