From f11be470bb1996be4495d98be85f5fa16571c9b2bbc284537f599a491028b391 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:18:38 +0000 Subject: [PATCH] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=6 --- python-CairoSVG.changes | 5 +++++ python-CairoSVG.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-CairoSVG.changes b/python-CairoSVG.changes index 8037a89..25ba387 100644 --- a/python-CairoSVG.changes +++ b/python-CairoSVG.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:46:26 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Thu May 3 06:37:32 UTC 2018 - toddrme2178@gmail.com diff --git a/python-CairoSVG.spec b/python-CairoSVG.spec index 2aca207..7b98d6f 100644 --- a/python-CairoSVG.spec +++ b/python-CairoSVG.spec @@ -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-%{**}} @@ -20,26 +21,25 @@ Name: python-CairoSVG Version: 2.1.3 Release: 0 -License: LGPL-3.0+ Summary: A Simple SVG Converter for Cairo -Url: http://www.cairosvg.org/ +License: LGPL-3.0-or-later Group: Development/Languages/Python +Url: http://www.cairosvg.org/ Source: https://files.pythonhosted.org/packages/source/C/CairoSVG/CairoSVG-%{version}.tar.gz BuildRequires: %{python_module Pillow} -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module cairocffi} BuildRequires: %{python_module cssselect2} BuildRequires: %{python_module defusedxml} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tinycss2} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-flake8} BuildRequires: %{python_module pytest-isort} BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module pytest} # /SECTION Requires: python-Pillow Requires: python-cairocffi