From 702f902520a40199354aaea51a5123af0ca250cb93f0db09c69882cea07af3e4 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:17:17 +0000 Subject: [PATCH 1/3] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blockdiag?expand=0&rev=9 --- python-blockdiag.changes | 5 +++++ python-blockdiag.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-blockdiag.changes b/python-blockdiag.changes index 4ab6e19..a0e5947 100644 --- a/python-blockdiag.changes +++ b/python-blockdiag.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:46:14 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Tue Mar 6 13:27:49 UTC 2018 - aplanas@suse.com diff --git a/python-blockdiag.spec b/python-blockdiag.spec index ebe3140..babed39 100644 --- a/python-blockdiag.spec +++ b/python-blockdiag.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/ # @@ -29,7 +29,6 @@ Group: Development/Languages/Python Url: http://blockdiag.com/ Source: https://files.pythonhosted.org/packages/source/b/blockdiag/blockdiag-%{version}.tar.gz BuildRequires: %{python_module Pillow >= 2.2.1} -BuildRequires: %{python_module devel} BuildRequires: %{python_module funcparserlib >= 0.3.6} BuildRequires: %{python_module reportlab} BuildRequires: %{python_module setuptools} From 926ca50898345b53edc62d721070c9fa8c58136327cdce31f06617dee154597c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:10:32 +0000 Subject: [PATCH 2/3] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blockdiag?expand=0&rev=10 --- python-blockdiag.spec | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/python-blockdiag.spec b/python-blockdiag.spec index babed39..bd387e0 100644 --- a/python-blockdiag.spec +++ b/python-blockdiag.spec @@ -16,17 +16,16 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} # tests need network connection %bcond_with tests - -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-blockdiag Version: 1.5.3 Release: 0 Summary: Generates block-diagram image from text License: Apache-2.0 Group: Development/Languages/Python -Url: http://blockdiag.com/ +URL: http://blockdiag.com/ Source: https://files.pythonhosted.org/packages/source/b/blockdiag/blockdiag-%{version}.tar.gz BuildRequires: %{python_module Pillow >= 2.2.1} BuildRequires: %{python_module funcparserlib >= 0.3.6} @@ -35,6 +34,12 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module webcolors} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-Pillow >= 2.2.1 +Requires: python-funcparserlib >= 0.3.6 +Requires: python-webcolors +Requires(post): update-alternatives +Requires(preun): update-alternatives +BuildArch: noarch %if %{with tests} BuildRequires: %{python_module docutils} BuildRequires: %{python_module mock} @@ -42,18 +47,11 @@ BuildRequires: %{python_module nose} BuildRequires: %{python_module pep8 >= 1.3} BuildRequires: %{python_module pip >= 1.4.1} %endif -Requires: python-Pillow >= 2.2.1 -Requires: python-funcparserlib >= 0.3.6 -Requires: python-webcolors %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 Recommends: ghostscript Recommends: python-Wand Recommends: python-reportlab %endif -Requires(post): update-alternatives -Requires(preun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %python_subpackages %description @@ -83,8 +81,8 @@ from a spec-text file. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES.rst LICENSE README.rst +%license LICENSE +%doc CHANGES.rst README.rst %python_alternative %{_bindir}/blockdiag %{python_sitelib}/* From 6ff0eddfc2fa98df0266b56f07f74cd391b7b20f465791cb09640fc90445e3b8 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 5 Dec 2018 08:20:15 +0000 Subject: [PATCH 3/3] Accepting request 654138 from home:jengelh:branches:devel:languages:python - Use noun phrase in summary. OBS-URL: https://build.opensuse.org/request/show/654138 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blockdiag?expand=0&rev=11 --- python-blockdiag.changes | 5 +++++ python-blockdiag.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-blockdiag.changes b/python-blockdiag.changes index a0e5947..abbeea9 100644 --- a/python-blockdiag.changes +++ b/python-blockdiag.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 5 01:58:19 UTC 2018 - Jan Engelhardt + +- Use noun phrase in summary. + ------------------------------------------------------------------- Tue Dec 4 12:46:14 UTC 2018 - Matej Cepl diff --git a/python-blockdiag.spec b/python-blockdiag.spec index bd387e0..cbfae4a 100644 --- a/python-blockdiag.spec +++ b/python-blockdiag.spec @@ -22,7 +22,7 @@ Name: python-blockdiag Version: 1.5.3 Release: 0 -Summary: Generates block-diagram image from text +Summary: Program to generate block-diagram images from text License: Apache-2.0 Group: Development/Languages/Python URL: http://blockdiag.com/ @@ -55,8 +55,8 @@ Recommends: python-reportlab %python_subpackages %description -The blockdiag package generates block-diagram image file -from a spec-text file. +The blockdiag package generates block-diagram image files +from spec-text files. %prep %setup -q -n blockdiag-%{version}