From ca930645c459ddec3dc76d546770fe2733d9281bdd8e98511e7ab87e3628f8a5 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:31:28 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-guzzle_sphinx_theme?expand=0&rev=3 --- python-guzzle_sphinx_theme.changes | 5 +++++ python-guzzle_sphinx_theme.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-guzzle_sphinx_theme.changes b/python-guzzle_sphinx_theme.changes index d9ebdbb..28a7f83 100644 --- a/python-guzzle_sphinx_theme.changes +++ b/python-guzzle_sphinx_theme.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:48:47 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Tue Jul 4 09:31:19 UTC 2017 - alarrosa@suse.com diff --git a/python-guzzle_sphinx_theme.spec b/python-guzzle_sphinx_theme.spec index f4555dc..384510a 100644 --- a/python-guzzle_sphinx_theme.spec +++ b/python-guzzle_sphinx_theme.spec @@ -1,7 +1,7 @@ # # spec file for package python-guzzle_sphinx_theme # -# 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,21 +12,21 @@ # 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/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-guzzle_sphinx_theme Version: 0.7.11 Release: 0 -License: MIT and OFL-1.1 Summary: Sphinx theme used by Guzzle -Url: https://github.com/guzzle/guzzle_sphinx_theme +License: MIT AND OFL-1.1 Group: Development/Languages/Python +Url: https://github.com/guzzle/guzzle_sphinx_theme Source: https://pypi.python.org/packages/f4/7d/aed8cd5e4ca52bb8550d2c33fcbb8d6dbd5c2cf5e1694202d2135b374eba/guzzle_sphinx_theme-%{version}.tar.gz -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module Sphinx >= 1.2b1} +BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros Requires: python-Sphinx >= 1.2b1 BuildRoot: %{_tmppath}/%{name}-%{version}-build From af0e86a7df36f354fc27126e339a78504b614bd7e5050e470744708a35ecfd7f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:14:11 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-guzzle_sphinx_theme?expand=0&rev=4 --- python-guzzle_sphinx_theme.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/python-guzzle_sphinx_theme.spec b/python-guzzle_sphinx_theme.spec index 384510a..cb008c3 100644 --- a/python-guzzle_sphinx_theme.spec +++ b/python-guzzle_sphinx_theme.spec @@ -23,13 +23,12 @@ Release: 0 Summary: Sphinx theme used by Guzzle License: MIT AND OFL-1.1 Group: Development/Languages/Python -Url: https://github.com/guzzle/guzzle_sphinx_theme -Source: https://pypi.python.org/packages/f4/7d/aed8cd5e4ca52bb8550d2c33fcbb8d6dbd5c2cf5e1694202d2135b374eba/guzzle_sphinx_theme-%{version}.tar.gz +URL: https://github.com/guzzle/guzzle_sphinx_theme +Source: https://files.pythonhosted.org/packages/source/g/guzzle_sphinx_theme/guzzle_sphinx_theme-%{version}.tar.gz BuildRequires: %{python_module Sphinx >= 1.2b1} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros Requires: python-Sphinx >= 1.2b1 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -48,8 +47,8 @@ find . -iname .DS_Store -delete %python_install %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitelib}/* %changelog