Hello community, here is the log from the commit of package python-panflute for openSUSE:Leap:15.2 checked in at 2020-04-25 19:06:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-panflute (Old) and /work/SRC/openSUSE:Leap:15.2/.python-panflute.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-panflute" Sat Apr 25 19:06:45 2020 rev:3 rq:797209 version:1.12.5 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-panflute/python-panflute.changes 2020-03-15 07:14:38.425074854 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-panflute.new.2738/python-panflute.changes 2020-04-25 19:06:47.239815361 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 11:31:14 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-panflute.spec ++++++ --- /var/tmp/diff_new_pack.scLqVJ/_old 2020-04-25 19:06:47.655816255 +0200 +++ /var/tmp/diff_new_pack.scLqVJ/_new 2020-04-25 19:06:47.659816264 +0200 @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-panflute Version: 1.12.5 Release: 0 @@ -28,23 +29,24 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-PyYAML +Requires: python-click +Requires: python-future +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module click} BuildRequires: %{python_module future} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} +%if %{with python2} BuildRequires: python-configparser BuildRequires: python-shutilwhich +%endif # /SECTION -Requires: python-PyYAML -Requires: python-click -Requires: python-future %ifpython2 Requires: python-shutilwhich %endif -BuildArch: noarch - %python_subpackages %description