From 297996b711e1b5e251eb8802cec9a633c9a9344bfeaebb31605f8743a732221a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:32:09 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hpack?expand=0&rev=6 --- python-hpack.changes | 5 +++++ python-hpack.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-hpack.changes b/python-hpack.changes index c649885..5cba9ae 100644 --- a/python-hpack.changes +++ b/python-hpack.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:48:55 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sat Apr 22 08:11:31 UTC 2017 - aloisio@gmx.com diff --git a/python-hpack.spec b/python-hpack.spec index 1c8efbb..527cf4a 100644 --- a/python-hpack.spec +++ b/python-hpack.spec @@ -1,7 +1,7 @@ # # spec file for package python-hpack # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,7 +25,6 @@ License: MIT Group: Development/Languages/Python Url: http://hyper.rtfd.org Source: https://files.pythonhosted.org/packages/source/h/hpack/hpack-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From dc04a2079701786dae105d0690b5fd0e28224f67bbb34063008feb213cc10cfd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:14:26 +0000 Subject: [PATCH 2/2] 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