forked from pool/python-moban
- Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-moban?expand=0&rev=24
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 9 12:40:57 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 2 12:30:05 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Mon Jun 2 12:30:05 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
%define pkg_suffix %{nil}
|
%define pkg_suffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
%bcond_without libalternatives
|
||||||
Name: python-moban%{pkg_suffix}
|
Name: python-moban%{pkg_suffix}
|
||||||
Version: 0.8.2
|
Version: 0.8.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -40,9 +41,11 @@ Patch2: remove-mock.patch
|
|||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: alts
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: alts
|
||||||
Requires: git-core
|
Requires: git-core
|
||||||
Requires: python-Jinja2 >= 2.7.1
|
Requires: python-Jinja2 >= 2.7.1
|
||||||
Requires: python-appdirs >= 1.4.3
|
Requires: python-appdirs >= 1.4.3
|
||||||
@@ -51,8 +54,6 @@ Requires: python-fs >= 2.4.11
|
|||||||
Requires: python-jinja2-fsloader >= 0.2.0
|
Requires: python-jinja2-fsloader >= 0.2.0
|
||||||
Requires: python-lml >= 0.0.9
|
Requires: python-lml >= 0.0.9
|
||||||
Requires: python-ruamel.yaml >= 0.15.98
|
Requires: python-ruamel.yaml >= 0.15.98
|
||||||
Requires(post): alts
|
|
||||||
Requires(postun): alts
|
|
||||||
Suggests: python-ansible
|
Suggests: python-ansible
|
||||||
Suggests: python-gitfs2
|
Suggests: python-gitfs2
|
||||||
Suggests: python-pypifs
|
Suggests: python-pypifs
|
||||||
@@ -123,13 +124,11 @@ export SKIP_TESTS
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%post
|
|
||||||
%python_install_alternative moban
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%postun
|
%pre
|
||||||
%python_uninstall_alternative moban
|
%python_libalternatives_reset_alternative moban
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
|||||||
Reference in New Issue
Block a user