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