From dc04a2079701786dae105d0690b5fd0e28224f67bbb34063008feb213cc10cfd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:14:26 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hpack?expand=0&rev=7 --- python-hpack.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/python-hpack.spec b/python-hpack.spec index 527cf4a..8d57082 100644 --- a/python-hpack.spec +++ b/python-hpack.spec @@ -23,15 +23,14 @@ Release: 0 Summary: Pure-Python HPACK header compression License: MIT Group: Development/Languages/Python -Url: http://hyper.rtfd.org +URL: http://hyper.rtfd.org Source: https://files.pythonhosted.org/packages/source/h/hpack/hpack-%{version}.tar.gz -BuildRequires: %{python_module setuptools} -BuildRequires: fdupes -BuildRequires: python-rpm-macros # test requirements BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pytest} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -56,8 +55,8 @@ export LC_ALL="en_US.UTF-8" %python_expand PYTHONPATH=build/lib py.test-%{$python_version} -k"-test_can_decode_a_story -test_can_decode_a_story_no_huffman -test_can_encode_a_story_with_huffman -test_can_encode_a_story_no_huffman" %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE HISTORY.rst CONTRIBUTORS.rst README.rst +%license LICENSE +%doc HISTORY.rst CONTRIBUTORS.rst README.rst %{python_sitelib}/hpack %{python_sitelib}/hpack-%{version}-py%{python_version}.egg-info