From 041a9ca5a8b1937ed33449ade5647ed4d9f62dc489e219f321c9c1b32d0246d4 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:52:41 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyngus?expand=0&rev=4 --- python-pyngus.changes | 5 +++++ python-pyngus.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-pyngus.changes b/python-pyngus.changes index 75c246f..febeaf7 100644 --- a/python-pyngus.changes +++ b/python-pyngus.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:52:31 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Mon Aug 7 09:25:24 UTC 2017 - tbechtold@suse.com diff --git a/python-pyngus.spec b/python-pyngus.spec index a777f3a..10a7473 100644 --- a/python-pyngus.spec +++ b/python-pyngus.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyngus # -# 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/ # @@ -26,7 +26,6 @@ License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/kgiusti/pyngus Source: https://files.pythonhosted.org/packages/source/p/pyngus/pyngus-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros %if %{with test} From 5dadeaf2f1a1b1d63a32d99553de803ae5d59f7fcbba17e3c915478a4945638a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:19:46 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyngus?expand=0&rev=5 --- python-pyngus.spec | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/python-pyngus.spec b/python-pyngus.spec index 10a7473..dae16ef 100644 --- a/python-pyngus.spec +++ b/python-pyngus.spec @@ -24,22 +24,19 @@ Release: 0 Summary: Callback API implemented over Proton License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/kgiusti/pyngus +URL: https://github.com/kgiusti/pyngus Source: https://files.pythonhosted.org/packages/source/p/pyngus/pyngus-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros +Requires: python-python-qpid-proton >= 0.9 +BuildArch: noarch %if %{with test} BuildRequires: %{python_module python-qpid-proton >= 0.9} %endif -Requires: python-python-qpid-proton >= 0.9 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - %python_subpackages %description - %prep %setup -q -n pyngus-%{version} @@ -50,8 +47,8 @@ BuildArch: noarch %python_install %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.md +%license LICENSE +%doc README.md %{python_sitelib}/* %changelog