remove python2 subpackage
This commit is contained in:
parent
2d677bc470
commit
56bba81f60
@ -1,6 +1,6 @@
|
|||||||
Name: python-hyperframe
|
Name: python-hyperframe
|
||||||
Version: 5.2.0
|
Version: 5.2.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: HTTP/2 framing layer for Python
|
Summary: HTTP/2 framing layer for Python
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -8,7 +8,6 @@ URL: https://github.com/python-hyper/hyperframe
|
|||||||
Source0: https://files.pythonhosted.org/packages/source/h/hyperframe/hyperframe-5.2.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/h/hyperframe/hyperframe-5.2.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python2-devel python2dist(setuptools) python2dist(pytest)
|
|
||||||
BuildRequires: python3-devel python3dist(setuptools) python3dist(pytest)
|
BuildRequires: python3-devel python3dist(setuptools) python3dist(pytest)
|
||||||
|
|
||||||
%{?python_enable_dependency_generator}
|
%{?python_enable_dependency_generator}
|
||||||
@ -17,14 +16,6 @@ BuildRequires: python3-devel python3dist(setuptools) python3dist(pytest)
|
|||||||
This library contains the HTTP/2 framing code used in the hyper project.It provides a
|
This library contains the HTTP/2 framing code used in the hyper project.It provides a
|
||||||
pure-python codebase that is capable of decoding a binary stream into HTTP/2 frames.
|
pure-python codebase that is capable of decoding a binary stream into HTTP/2 frames.
|
||||||
|
|
||||||
%package -n python2-hyperframe
|
|
||||||
Summary: HTTP/2 framing layer for Python
|
|
||||||
%{?python_provide:%python_provide python2-hyperframe}
|
|
||||||
|
|
||||||
%description -n python2-hyperframe
|
|
||||||
This library contains the HTTP/2 framing code used in the hyper project.It provides a
|
|
||||||
pure-python codebase that is capable of decoding a binary stream into HTTP/2 frames.
|
|
||||||
|
|
||||||
%package -n python3-hyperframe
|
%package -n python3-hyperframe
|
||||||
Summary: HTTP/2 framing layer for Python
|
Summary: HTTP/2 framing layer for Python
|
||||||
%{?python_provide:%python_provide python3-hyperframe}
|
%{?python_provide:%python_provide python3-hyperframe}
|
||||||
@ -38,29 +29,25 @@ pure-python codebase that is capable of decoding a binary stream into HTTP/2 fra
|
|||||||
rm -rf hyperframe.egg-info
|
rm -rf hyperframe.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} -m pytest
|
|
||||||
%{__python3} -m pytest
|
%{__python3} -m pytest
|
||||||
|
|
||||||
%files -n python2-hyperframe
|
|
||||||
%doc README.rst LICENSE
|
|
||||||
%{python2_sitelib}/hyperframe
|
|
||||||
%{python2_sitelib}/hyperframe-%{version}-py?.?.egg-info
|
|
||||||
|
|
||||||
%files -n python3-hyperframe
|
%files -n python3-hyperframe
|
||||||
%doc README.rst LICENSE
|
%doc README.rst LICENSE
|
||||||
%{python3_sitelib}/hyperframe
|
%{python3_sitelib}/hyperframe
|
||||||
%{python3_sitelib}/hyperframe-%{version}-py?.?.egg-info
|
%{python3_sitelib}/hyperframe-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 09 2020 leiju <leiju4@huawei.com> - 5.2.0-3
|
||||||
|
- Remove python2 subpackage
|
||||||
|
|
||||||
* Tue Mar 10 2020 zhangtao <zhangtao221@huawei.com> - 5.2.0-2
|
* Tue Mar 10 2020 zhangtao <zhangtao221@huawei.com> - 5.2.0-2
|
||||||
- Package update
|
- Package update
|
||||||
|
|
||||||
* Fri Mar 6 2020 zhangtao <zhangtao221@huawei.com> - 5.1.0-4
|
* Fri Mar 6 2020 zhangtao <zhangtao221@huawei.com> - 5.1.0-4
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user