forked from pool/python-h2
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=4
This commit is contained in:
@@ -23,7 +23,7 @@ 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
|
Group: Development/Languages/Python
|
||||||
Url: http://hyper.rtfd.org
|
URL: http://hyper.rtfd.org
|
||||||
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
|
||||||
# test requirements
|
# test requirements
|
||||||
BuildRequires: %{python_module coverage}
|
BuildRequires: %{python_module coverage}
|
||||||
@@ -38,7 +38,6 @@ BuildRequires: python-rpm-macros
|
|||||||
Requires: python-hpack >= 2.2
|
Requires: python-hpack >= 2.2
|
||||||
Requires: python-hyperframe >= 5.0
|
Requires: python-hyperframe >= 5.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -61,8 +60,8 @@ your programming paradigm.
|
|||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version}
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc HISTORY.rst LICENSE 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%{python_version}.egg-info
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user