From 7a1f44ba16808b64dfccc462cb29b8871f90b93a779f6222f81297547a5828f9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:39:13 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-logutils?expand=0&rev=5 --- python-logutils.changes | 5 +++++ python-logutils.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-logutils.changes b/python-logutils.changes index cbf67e9..89fcdd7 100644 --- a/python-logutils.changes +++ b/python-logutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:50:10 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Thu Jun 29 16:53:49 UTC 2017 - tbechtold@suse.com diff --git a/python-logutils.spec b/python-logutils.spec index e1995d7..b68ac9b 100644 --- a/python-logutils.spec +++ b/python-logutils.spec @@ -1,7 +1,7 @@ # # spec file for package python-logutils # -# 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: BSD-3-Clause Group: Development/Languages/Python Url: https://logutils.readthedocs.io/ Source: https://files.pythonhosted.org/packages/source/l/logutils/logutils-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx From 3df61cde42768ab2c67a896c016919cc1b4713fe11d19f9bca2ee0528ac042ec Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:16:30 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-logutils?expand=0&rev=6 --- python-logutils.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python-logutils.spec b/python-logutils.spec index b68ac9b..cbe124f 100644 --- a/python-logutils.spec +++ b/python-logutils.spec @@ -23,14 +23,12 @@ Release: 0 Summary: Logging utilities License: BSD-3-Clause Group: Development/Languages/Python -Url: https://logutils.readthedocs.io/ +URL: https://logutils.readthedocs.io/ Source: https://files.pythonhosted.org/packages/source/l/logutils/logutils-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -72,11 +70,12 @@ cd doc && make html %python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE.txt NEWS.txt README.rst +%license LICENSE.txt +%doc NEWS.txt README.rst %{python_sitelib}/* %files -n python-logutils-doc -%doc LICENSE.txt doc/_build/html +%license LICENSE.txt +%doc doc/_build/html %changelog