Hello community,
here is the log from the commit of package python-panflute for openSUSE:Factory
checked in at 2020-04-21 13:10:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-panflute (Old)
and /work/SRC/openSUSE:Factory/.python-panflute.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-panflute"
Tue Apr 21 13:10:26 2020 rev:4 rq:795801 version:1.12.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-panflute/python-panflute.changes
2020-03-12 23:12:30.587328745 +0100
+++
/work/SRC/openSUSE:Factory/.python-panflute.new.2738/python-panflute.changes
2020-04-21 13:10:28.444789164 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 11:31:14 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-panflute.spec ++++++
--- /var/tmp/diff_new_pack.k1eiJj/_old 2020-04-21 13:10:29.088790449 +0200
+++ /var/tmp/diff_new_pack.k1eiJj/_new 2020-04-21 13:10:29.092790457 +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