From ef00931dfa7cdc1fd3cccb1729e9a399b2788e6d88b844c8c45b08612cbac432 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 23 Feb 2021 10:18:44 +0000 Subject: [PATCH] Accepting request 874347 from home:mcalabkova:branches:devel:languages:python - Drop broken %ifpython3 OBS-URL: https://build.opensuse.org/request/show/874347 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=16 --- python-pygal.changes | 5 +++++ python-pygal.spec | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/python-pygal.changes b/python-pygal.changes index 6c4d6c2..626b17f 100644 --- a/python-pygal.changes +++ b/python-pygal.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 22 14:22:14 UTC 2021 - Markéta Machová + +- Drop broken %ifpython3 + ------------------------------------------------------------------- Thu Aug 27 15:15:44 UTC 2020 - Marketa Calabkova diff --git a/python-pygal.spec b/python-pygal.spec index 1ad3293..2cc9b82 100644 --- a/python-pygal.spec +++ b/python-pygal.spec @@ -1,7 +1,7 @@ # # spec file for package python-pygal # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -41,10 +41,8 @@ BuildRequires: python3-CairoSVG Requires: python-lxml Requires(post): update-alternatives Requires(postun): update-alternatives -BuildArch: noarch -%ifpython3 Recommends: python-CairoSVG -%endif +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} @@ -72,7 +70,7 @@ mv %{buildroot}%{_bindir}/pygal_gen.py %{buildroot}%{_bindir}/pygal_gen %python_clone -a %{buildroot}%{_bindir}/pygal_gen %check -%python_exec setup.py test +%pytest %post %python_install_alternative pygal_gen