forked from pool/python-breathe
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| f43795c78a | |||
| 6e7a0c2bf7 | |||
| 4a74b3820f | |||
| 8c51032d95 | |||
| 95259eaa60 | |||
| 728cf98986 |
@@ -1,13 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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,11 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%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
|
||||||
@@ -37,14 +32,9 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if %{with libalternatives}
|
Requires: python-Sphinx >= 7.2
|
||||||
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
|
||||||
@@ -68,9 +58,6 @@ 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