From 72435d0218133535648b0aac6cf87114a43fc9d19182cc462fac8181f9441f1c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:51:05 +0000 Subject: [PATCH] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=5 --- python-pygal.changes | 5 +++++ python-pygal.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/python-pygal.changes b/python-pygal.changes index 4573218..ee9cbdf 100644 --- a/python-pygal.changes +++ b/python-pygal.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:52:14 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Thu May 24 17:38:38 UTC 2018 - toddrme2178@gmail.com diff --git a/python-pygal.spec b/python-pygal.spec index 8b5f4ed..c127d78 100644 --- a/python-pygal.spec +++ b/python-pygal.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,23 +21,22 @@ Name: python-pygal Version: 2.4.0 Release: 0 -License: LGPL-3.0-or-later Summary: A python svg graph plotting library -Url: http://pygal.org/ +License: LGPL-3.0-or-later Group: Development/Languages/Python +Url: http://pygal.org/ Source: https://files.pythonhosted.org/packages/source/p/pygal/pygal-%{version}.tar.gz -source10: https://raw.githubusercontent.com/Kozea/pygal/%{version}/COPYING -BuildRequires: %{python_module devel} -BuildRequires: %{python_module pyquery} -BuildRequires: %{python_module Flask} +Source10: https://raw.githubusercontent.com/Kozea/pygal/%{version}/COPYING BuildRequires: %{python_module CairoSVG} +BuildRequires: %{python_module Flask} BuildRequires: %{python_module lxml} +BuildRequires: %{python_module pyquery} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module pytest} # /SECTION Requires: python-lxml Recommends: python-CairoSVG