14
0
forked from pool/python-labels

- Convert to libalternatives

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-labels?expand=0&rev=9
This commit is contained in:
2025-06-05 09:30:36 +00:00
committed by Git OBS Bridge
parent d6894d45c9
commit a18275219b
2 changed files with 11 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 5 09:25:03 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Fri May 30 09:38:00 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -16,6 +16,7 @@
#
%bcond_without libalternatives
Name: python-labels
Version: 20.1.0
Release: 0
@@ -29,12 +30,12 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: alts
Requires: python-attrs
Requires: python-click
Requires: python-pytoml
Requires: python-requests
Requires(post): alts
Requires(postun): alts
BuildRequires: alts
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module attrs}
@@ -65,11 +66,9 @@ CLI app for managing GitHub labels.
export LANG=en_US.UTF-8
%pytest
%post
%python_install_alternative labels
%postun
%python_uninstall_alternative labels
%pre
# removing old update-alternatives entries
%python_libalternatives_reset_alternative labels
%files %{python_files}
%doc README.md