From e2e9fe8ddedce4a440a208f7b42753651a3ccac4b382958324a788c5e278e3a5 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:14:45 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hyperframe?expand=0&rev=8 --- python-hyperframe.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python-hyperframe.spec b/python-hyperframe.spec index 8505455..b4703eb 100644 --- a/python-hyperframe.spec +++ b/python-hyperframe.spec @@ -23,13 +23,12 @@ Release: 0 Summary: HTTP/2 framing layer for Python License: MIT Group: Development/Languages/Python -Url: http://hyper.rtfd.org +URL: http://hyper.rtfd.org Source0: https://files.pythonhosted.org/packages/source/h/hyperframe/hyperframe-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros # test requirements BuildRequires: %{python_module pytest} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -52,8 +51,8 @@ stream into HTTP/2 frames. %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} -v %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst CONTRIBUTORS.rst HISTORY.rst +%license LICENSE +%doc README.rst CONTRIBUTORS.rst HISTORY.rst %{python_sitelib}/hyperframe %{python_sitelib}/hyperframe-%{version}-py%{python_version}.egg-info