Hello community, here is the log from the commit of package python-hyper for openSUSE:Factory checked in at 2020-04-23 18:37:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hyper (Old) and /work/SRC/openSUSE:Factory/.python-hyper.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hyper" Thu Apr 23 18:37:01 2020 rev:5 rq:796499 version:0.7.0+git88.18b629b Changes: -------- --- /work/SRC/openSUSE:Factory/python-hyper/python-hyper.changes 2019-09-27 14:49:32.856593270 +0200 +++ /work/SRC/openSUSE:Factory/.python-hyper.new.2738/python-hyper.changes 2020-04-23 18:37:15.600870848 +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.cJ9ggI/_old 2020-04-23 18:37:16.800873144 +0200 +++ /var/tmp/diff_new_pack.cJ9ggI/_new 2020-04-23 18:37:16.804873152 +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
