Hello community,

here is the log from the commit of package python-h2 for openSUSE:Factory 
checked in at 2020-03-27 00:24:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-h2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-h2.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-h2"

Fri Mar 27 00:24:00 2020 rev:10 rq:784845 version:3.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-h2/python-h2.changes      2020-02-29 
21:23:26.910389926 +0100
+++ /work/SRC/openSUSE:Factory/.python-h2.new.3160/python-h2.changes    
2020-03-27 00:24:01.840218304 +0100
@@ -1,0 +2,5 @@
+Sat Mar 14 08:37:11 UTC 2020 - Tomáš Chvátal <tchva...@suse.com>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-h2.spec ++++++
--- /var/tmp/diff_new_pack.piB5qT/_old  2020-03-27 00:24:02.824218802 +0100
+++ /var/tmp/diff_new_pack.piB5qT/_new  2020-03-27 00:24:02.828218804 +0100
@@ -17,12 +17,12 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-h2
 Version:        3.2.0
 Release:        0
 Summary:        HTTP/2 State-Machine based protocol implementation
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/python-hyper/hyper-h2
 Source0:        
https://files.pythonhosted.org/packages/source/h/h2/h2-%{version}.tar.gz
 BuildRequires:  %{python_module hpack >= 2.3}
@@ -30,11 +30,13 @@
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  fdupes
-BuildRequires:  python-enum34 >= 1.1.6
 BuildRequires:  python-rpm-macros
 Requires:       python-hpack >= 2.3
 Requires:       python-hyperframe >= 5.2.0
 BuildArch:      noarch
+%if %{with python2}
+BuildRequires:  python-enum34 >= 1.1.6
+%endif
 %ifpython2
 Requires:       python-enum34 >= 1.1.6
 %endif
@@ -65,6 +67,6 @@
 %license LICENSE
 %doc HISTORY.rst README.rst
 %{python_sitelib}/h2
-%{python_sitelib}/h2-%{version}-py%{python_version}.egg-info
+%{python_sitelib}/h2-%{version}-py*.egg-info
 
 %changelog


Reply via email to