commit python-curtsies for openSUSE:Leap:15.2

Hello community, here is the log from the commit of package python-curtsies for openSUSE:Leap:15.2 checked in at 2020-04-30 18:52:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-curtsies (Old) and /work/SRC/openSUSE:Leap:15.2/.python-curtsies.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-curtsies" Thu Apr 30 18:52:13 2020 rev:23 rq:797065 version:0.3.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-curtsies/python-curtsies.changes 2020-04-08 12:49:22.434373212 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.python-curtsies.new.2738/python-curtsies.changes 2020-04-30 18:52:14.996701065 +0200 @@ -1,0 +2,5 @@ +Thu Apr 23 11:09:49 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-curtsies.spec ++++++ --- /var/tmp/diff_new_pack.PaxchE/_old 2020-04-30 18:52:15.408701936 +0200 +++ /var/tmp/diff_new_pack.PaxchE/_new 2020-04-30 18:52:15.412701944 +0200 @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-curtsies Version: 0.3.1 Release: 0 @@ -34,10 +35,12 @@ BuildRequires: %{python_module wcwidth} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python2-typing Requires: python-blessings Requires: python-wcwidth BuildArch: noarch +%if %{with python2} +BuildRequires: python2-typing +%endif %if %{python_version_nodots} < 35 BuildRequires: python3-typing %endif
participants (1)
-
root