From cd641eec14b01073fac0387ecd43dc70d707d5aaed828bde985710dbab5e2152 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:33:19 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=3 --- python-h2.changes | 5 +++++ python-h2.spec | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/python-h2.changes b/python-h2.changes index 4e7207a..bcd7ed5 100644 --- a/python-h2.changes +++ b/python-h2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:49:07 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Fri Apr 21 19:25:18 UTC 2017 - aloisio@gmx.com diff --git a/python-h2.spec b/python-h2.spec index 694cc99..351ee8d 100644 --- a/python-h2.spec +++ b/python-h2.spec @@ -1,7 +1,7 @@ # # spec file for package python-h2 # -# 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,19 +25,18 @@ License: MIT Group: Development/Languages/Python Url: http://hyper.rtfd.org Source0: https://files.pythonhosted.org/packages/source/h/h2/h2-%{version}.tar.gz -BuildRequires: %{python_module devel} # test requirements BuildRequires: %{python_module coverage} BuildRequires: %{python_module hpack} BuildRequires: %{python_module hyperframe >= 5.0} BuildRequires: %{python_module hypothesis} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-xdist} +BuildRequires: %{python_module pytest} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-hyperframe >= 5.0 Requires: python-hpack >= 2.2 +Requires: python-hyperframe >= 5.0 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages From 74ffce92f074bd8cd9b0c01aa68409abacf4a210497e96a14ac0b0bec2bf6a03 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:14:50 +0000 Subject: [PATCH 2/2] 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