Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 48d17dce33 | |||
| 2bbb434893 | |||
| adc0188603 | |||
| f21e3c6d8d | |||
| 828bc44786 | |||
| 6ee154f2c3 | |||
| 17afd30009 | |||
| 932633827d | |||
| b7b698fe6f | |||
| 52d0d61803 |
@@ -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>
|
||||
|
||||
|
||||
@@ -16,6 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-breathe
|
||||
Version: 4.36.0
|
||||
@@ -32,9 +37,14 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Sphinx >= 7.2
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
Requires: python-Sphinx >= 7.2
|
||||
Provides: python-sphinxcontrib-breathe = %{version}
|
||||
Obsoletes: python-sphinxcontrib-breathe < %{version}
|
||||
BuildArch: noarch
|
||||
@@ -58,6 +68,9 @@ able to read and render Doxygen xml output.
|
||||
%python_clone -a %{buildroot}%{_bindir}/breathe-apidoc
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative breathe-apidoc
|
||||
|
||||
%post
|
||||
%python_install_alternative breathe-apidoc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user