From dde6fa7e8eaed127d72bf9eb77c8bf196d6a84a4a55e47afd57cfe52e6e89c4d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:06:09 +0000 Subject: [PATCH 1/3] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-blockdiag?expand=0&rev=3 --- python-sphinxcontrib-blockdiag.changes | 5 +++++ python-sphinxcontrib-blockdiag.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/python-sphinxcontrib-blockdiag.changes b/python-sphinxcontrib-blockdiag.changes index 99c16d3..33cfba4 100644 --- a/python-sphinxcontrib-blockdiag.changes +++ b/python-sphinxcontrib-blockdiag.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:54:39 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Mon Sep 18 22:29:06 UTC 2017 - toddrme2178@gmail.com diff --git a/python-sphinxcontrib-blockdiag.spec b/python-sphinxcontrib-blockdiag.spec index d70e553..8bf455f 100644 --- a/python-sphinxcontrib-blockdiag.spec +++ b/python-sphinxcontrib-blockdiag.spec @@ -1,7 +1,7 @@ # # spec file for package python-sphinxcontrib-blockdiag # -# 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,8 @@ # 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-%{**}} @@ -21,13 +22,12 @@ Name: python-sphinxcontrib-blockdiag Version: 1.5.5 Release: 0 -License: BSD-2-Clause Summary: Sphinx "blockdiag" extension -Url: https://github.com/blockdiag/sphinxcontrib-blockdiag +License: BSD-2-Clause Group: Development/Languages/Python +Url: https://github.com/blockdiag/sphinxcontrib-blockdiag Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-blockdiag/sphinxcontrib-blockdiag-%{version}.tar.gz BuildRequires: %{python_module blockdiag >= 1.5.0} -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sphinxcontrib} BuildRequires: fdupes From 7861b3e05c189e81ad4a56da425bb288b8d539f5c412a7b13b202f4b8b3e53e0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:23:20 +0000 Subject: [PATCH 2/3] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-blockdiag?expand=0&rev=4 --- python-sphinxcontrib-blockdiag.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/python-sphinxcontrib-blockdiag.spec b/python-sphinxcontrib-blockdiag.spec index 8bf455f..efd24fa 100644 --- a/python-sphinxcontrib-blockdiag.spec +++ b/python-sphinxcontrib-blockdiag.spec @@ -25,24 +25,23 @@ Release: 0 Summary: Sphinx "blockdiag" extension License: BSD-2-Clause Group: Development/Languages/Python -Url: https://github.com/blockdiag/sphinxcontrib-blockdiag +URL: https://github.com/blockdiag/sphinxcontrib-blockdiag Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-blockdiag/sphinxcontrib-blockdiag-%{version}.tar.gz BuildRequires: %{python_module blockdiag >= 1.5.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sphinxcontrib} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-Sphinx >= 0.6 +Requires: python-blockdiag >= 1.5.0 +Requires: python-sphinxcontrib +BuildArch: noarch %if %{with test} BuildRequires: %{python_module Sphinx >= 0.6} BuildRequires: %{python_module funcparserlib} BuildRequires: %{python_module sphinx-testing} BuildRequires: python-mock %endif -Requires: python-Sphinx >= 0.6 -Requires: python-blockdiag >= 1.5.0 -Requires: python-sphinxcontrib -BuildArch: noarch - %python_subpackages %description @@ -64,8 +63,8 @@ A sphinx extension for embedding block diagram using blockdiag. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS LICENSE README.rst +%license LICENSE +%doc AUTHORS README.rst %{python_sitelib}/sphinxcontrib/blockdiag.py* %pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/blockdiag*.py* %{python_sitelib}/sphinxcontrib_blockdiag-%{version}-py*-nspkg.pth From 00a5d8e474d0fc3b843f6f8cb38461610033f9ae9adf58d948c78a8599c3d4ee Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 7 Dec 2018 21:04:25 +0000 Subject: [PATCH 3/3] Remove wrong BR on python-sphinxcontrib OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-blockdiag?expand=0&rev=5 --- python-sphinxcontrib-blockdiag.changes | 5 +++++ python-sphinxcontrib-blockdiag.spec | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-sphinxcontrib-blockdiag.changes b/python-sphinxcontrib-blockdiag.changes index 33cfba4..46ad8c4 100644 --- a/python-sphinxcontrib-blockdiag.changes +++ b/python-sphinxcontrib-blockdiag.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 7 21:04:16 UTC 2018 - Matej Cepl + +- Remove wrong BR on python-sphinxcontrib + ------------------------------------------------------------------- Tue Dec 4 12:54:39 UTC 2018 - Matej Cepl diff --git a/python-sphinxcontrib-blockdiag.spec b/python-sphinxcontrib-blockdiag.spec index efd24fa..05c032c 100644 --- a/python-sphinxcontrib-blockdiag.spec +++ b/python-sphinxcontrib-blockdiag.spec @@ -27,17 +27,15 @@ License: BSD-2-Clause Group: Development/Languages/Python URL: https://github.com/blockdiag/sphinxcontrib-blockdiag Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-blockdiag/sphinxcontrib-blockdiag-%{version}.tar.gz +BuildRequires: %{python_module Sphinx >= 0.6} BuildRequires: %{python_module blockdiag >= 1.5.0} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module sphinxcontrib} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Sphinx >= 0.6 Requires: python-blockdiag >= 1.5.0 -Requires: python-sphinxcontrib BuildArch: noarch %if %{with test} -BuildRequires: %{python_module Sphinx >= 0.6} BuildRequires: %{python_module funcparserlib} BuildRequires: %{python_module sphinx-testing} BuildRequires: python-mock