Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
62046f9c58 | |||
4f217df794 | |||
1e2f1f412e | |||
0205c68092 |
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 11 15:17:37 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Make the libalternatives transition conditional
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 17 09:23:10 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 2 03:00:08 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
Wed Apr 2 03:00:08 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -16,6 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-CairoSVG
|
Name: python-CairoSVG
|
||||||
Version: 2.7.1
|
Version: 2.7.1
|
||||||
@@ -41,8 +46,13 @@ Requires: python-cairocffi
|
|||||||
Requires: python-cssselect2
|
Requires: python-cssselect2
|
||||||
Requires: python-defusedxml
|
Requires: python-defusedxml
|
||||||
Requires: python-tinycss2
|
Requires: python-tinycss2
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -71,6 +81,9 @@ sed -i setup.cfg \
|
|||||||
%check
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative cairosvg
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative cairosvg
|
%python_install_alternative cairosvg
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user