From 74ffce92f074bd8cd9b0c01aa68409abacf4a210497e96a14ac0b0bec2bf6a03 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:14:50 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=4 --- python-h2.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python-h2.spec b/python-h2.spec index 351ee8d..9cc756b 100644 --- a/python-h2.spec +++ b/python-h2.spec @@ -23,7 +23,7 @@ Release: 0 Summary: HTTP/2 State-Machine based protocol implementation License: MIT 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 # test requirements BuildRequires: %{python_module coverage} @@ -38,7 +38,6 @@ BuildRequires: python-rpm-macros Requires: python-hpack >= 2.2 Requires: python-hyperframe >= 5.0 BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages %description @@ -61,8 +60,8 @@ your programming paradigm. %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} %files %{python_files} -%defattr(-,root,root,-) -%doc HISTORY.rst LICENSE README.rst +%license LICENSE +%doc HISTORY.rst README.rst %{python_sitelib}/h2 %{python_sitelib}/h2-%{version}-py%{python_version}.egg-info