diff --git a/python-blockdiag.changes b/python-blockdiag.changes index d3f2da3..7da176e 100644 --- a/python-blockdiag.changes +++ b/python-blockdiag.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 27 17:07:05 UTC 2018 - aplanas@suse.com + +- Recommends only for SUSE + ------------------------------------------------------------------- Thu Apr 20 15:16:20 UTC 2017 - toddrme2178@gmail.com diff --git a/python-blockdiag.spec b/python-blockdiag.spec index f9101a4..e1eaf92 100644 --- a/python-blockdiag.spec +++ b/python-blockdiag.spec @@ -1,7 +1,7 @@ # # spec file for package python-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 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + # tests need network connection %bcond_with tests @@ -27,14 +28,14 @@ License: Apache-2.0 Group: Development/Languages/Python Url: http://blockdiag.com/ Source: https://files.pythonhosted.org/packages/source/b/blockdiag/blockdiag-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} 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} BuildRequires: %{python_module webcolors} +BuildRequires: fdupes +BuildRequires: python-rpm-macros %if %{with tests} BuildRequires: %{python_module docutils} BuildRequires: %{python_module mock} @@ -45,9 +46,11 @@ BuildRequires: %{python_module pip >= 1.4.1} Requires: python-Pillow >= 2.2.1 Requires: python-funcparserlib >= 0.3.6 Requires: python-webcolors +%if 0%{?suse_version} >= 1000 Recommends: ghostscript Recommends: python-Wand Recommends: python-reportlab +%endif Requires(post): update-alternatives Requires(preun): update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build