From 93b9757e07f4be9e1f3dd48bb759ea268b7abf037ea8aa4cceb52d14dff607ad Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 22 Feb 2022 17:25:18 +0000 Subject: [PATCH] - add missing runtime requires OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-svglib?expand=0&rev=3 --- python-svglib.changes | 5 +++++ python-svglib.spec | 15 +++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/python-svglib.changes b/python-svglib.changes index f587597..364e564 100644 --- a/python-svglib.changes +++ b/python-svglib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 22 17:25:10 UTC 2022 - Dirk Müller + +- add missing runtime requires + ------------------------------------------------------------------- Fri Dec 24 06:15:20 UTC 2021 - John Vandenberg diff --git a/python-svglib.spec b/python-svglib.spec index db434aa..582d1a1 100644 --- a/python-svglib.spec +++ b/python-svglib.spec @@ -1,7 +1,7 @@ # # spec file for package python-svglib # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-svglib Version: 1.1.0 @@ -28,10 +28,6 @@ Source: https://files.pythonhosted.org/packages/source/s/svglib/svglib-% BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-reportlab -Requires(post): update-alternatives -Requires(postun): update-alternatives -BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module cssselect2 >= 0.2.0} BuildRequires: %{python_module lxml} @@ -40,6 +36,13 @@ BuildRequires: %{python_module reportlab} BuildRequires: %{python_module tinycss2 >= 0.6.0} BuildRequires: yudit # /SECTION +Requires: python-cssselect2 >= 0.2.0 +Requires: python-lxml +Requires: python-reportlab +Requires: python-tinycss2 >= 0.6.0 +Requires(post): update-alternatives +Requires(postun):update-alternatives +BuildArch: noarch %python_subpackages %description