From eed61aa4c795c26e9712c6468d6f947ed2112836b793bf1c5c0c3d304714362c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:33:02 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hyperframe?expand=0&rev=7 --- python-hyperframe.changes | 5 +++++ python-hyperframe.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-hyperframe.changes b/python-hyperframe.changes index 23ad739..7c835c3 100644 --- a/python-hyperframe.changes +++ b/python-hyperframe.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:49:04 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sun Feb 25 16:45:50 UTC 2018 - aloisio@gmx.com diff --git a/python-hyperframe.spec b/python-hyperframe.spec index a72e2fd..8505455 100644 --- a/python-hyperframe.spec +++ b/python-hyperframe.spec @@ -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 Source0: https://files.pythonhosted.org/packages/source/h/hyperframe/hyperframe-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: fdupes BuildRequires: python-rpm-macros # test requirements From 8e79f6ecdc1b9b6a7ad6bf916fde937cd31ea67942c77b92ea1829351edef861 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:14:45 +0000 Subject: [PATCH 2/2] 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