Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d6e46dbcef | |||
| 18e21956cb | |||
| 00085ed7b4 | |||
| bb6539dddc |
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 11 14:53:24 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Make the libalternatives transition conditional
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 17 09:04:47 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 14 12:59:04 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Fri Mar 14 12:59:04 UTC 2025 - Markéta Machová <mmachova@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-breathe
|
Name: python-breathe
|
||||||
Version: 4.36.0
|
Version: 4.36.0
|
||||||
@@ -32,9 +37,14 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Sphinx >= 7.2
|
%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
|
||||||
|
Requires: python-Sphinx >= 7.2
|
||||||
Provides: python-sphinxcontrib-breathe = %{version}
|
Provides: python-sphinxcontrib-breathe = %{version}
|
||||||
Obsoletes: python-sphinxcontrib-breathe < %{version}
|
Obsoletes: python-sphinxcontrib-breathe < %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -58,6 +68,9 @@ able to read and render Doxygen xml output.
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/breathe-apidoc
|
%python_clone -a %{buildroot}%{_bindir}/breathe-apidoc
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative breathe-apidoc
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative breathe-apidoc
|
%python_install_alternative breathe-apidoc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user