Hello community, here is the log from the commit of package python-hyper for openSUSE:Leap:15.2 checked in at 2020-04-25 19:06:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-hyper (Old) and /work/SRC/openSUSE:Leap:15.2/.python-hyper.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hyper" Sat Apr 25 19:06:18 2020 rev:2 rq:797149 version:0.7.0+git88.18b629b Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-hyper/python-hyper.changes 2020-02-16 18:29:28.874754462 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-hyper.new.2738/python-hyper.changes 2020-04-25 19:06:19.695756149 +0200 @@ -1,0 +2,5 @@ +Thu Apr 23 10:59:59 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hyper.spec ++++++ --- /var/tmp/diff_new_pack.WZOdvg/_old 2020-04-25 19:06:20.171757172 +0200 +++ /var/tmp/diff_new_pack.WZOdvg/_new 2020-04-25 19:06:20.171757172 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-hyper # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-hyper Version: 0.7.0+git88.18b629b Release: 0 @@ -43,13 +44,15 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module virtualenv >= 14.0.0} BuildRequires: fdupes -BuildRequires: python-enum34 >= 1.0.4 -BuildRequires: python-futures BuildRequires: python-rpm-macros Requires: python-brotlipy >= 0.7.0 Requires: python-h2 > 2.5.0 Requires: python-hyperframe >= 3.2 Requires: python-rfc3986 >= 1.1.0 +%if %{with python2} +BuildRequires: python-enum34 >= 1.0.4 +BuildRequires: python-futures +%endif %ifpython2 Requires: python-enum34 %endif
