forked from pool/python-h2
- Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=24
This commit is contained in:
committed by
Git OBS Bridge
parent
69b4b27432
commit
da601565f6
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 14 08:37:11 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix build without python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 27 05:43:42 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
Thu Feb 27 05:43:42 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -17,12 +17,12 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without python2
|
||||||
Name: python-h2
|
Name: python-h2
|
||||||
Version: 3.2.0
|
Version: 3.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: HTTP/2 State-Machine based protocol implementation
|
Summary: HTTP/2 State-Machine based protocol implementation
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/python-hyper/hyper-h2
|
URL: https://github.com/python-hyper/hyper-h2
|
||||||
Source0: https://files.pythonhosted.org/packages/source/h/h2/h2-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/h/h2/h2-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module hpack >= 2.3}
|
BuildRequires: %{python_module hpack >= 2.3}
|
||||||
@@ -30,11 +30,13 @@ BuildRequires: %{python_module hyperframe >= 5.2.0}
|
|||||||
BuildRequires: %{python_module hypothesis}
|
BuildRequires: %{python_module hypothesis}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-enum34 >= 1.1.6
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-hpack >= 2.3
|
Requires: python-hpack >= 2.3
|
||||||
Requires: python-hyperframe >= 5.2.0
|
Requires: python-hyperframe >= 5.2.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with python2}
|
||||||
|
BuildRequires: python-enum34 >= 1.1.6
|
||||||
|
%endif
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python-enum34 >= 1.1.6
|
Requires: python-enum34 >= 1.1.6
|
||||||
%endif
|
%endif
|
||||||
@@ -65,6 +67,6 @@ your programming paradigm.
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc HISTORY.rst README.rst
|
%doc HISTORY.rst README.rst
|
||||||
%{python_sitelib}/h2
|
%{python_sitelib}/h2
|
||||||
%{python_sitelib}/h2-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/h2-%{version}-py*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user