forked from pool/python-blockdiag
Accepting request 580671 from home:aplanas:branches:devel:languages:python
- Recommends only for SUSE OBS-URL: https://build.opensuse.org/request/show/580671 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blockdiag?expand=0&rev=5
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user