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
This commit is contained in:
parent
b805ee04d7
commit
ef00931dfa
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 22 14:22:14 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Drop broken %ifpython3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 27 15:15:44 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user