15
0
forked from pool/python-confpy

Accepting request 1282801 from home:fstegmeier:branches:devel:languages:python

- Migration to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1282801
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-confpy?expand=0&rev=5
This commit is contained in:
2025-06-04 14:51:23 +00:00
committed by Git OBS Bridge
parent 074f0f5a87
commit a8a9740288
2 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 4 14:47:10 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
- Migration to libalternatives
-------------------------------------------------------------------
Mon May 26 10:46:45 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -16,6 +16,7 @@
#
%bcond_without libalternatives
Name: python-confpy
Version: 0.11.0
Release: 0
@@ -28,6 +29,8 @@ BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: alts
Requires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Suggests: python-Jinja2
@@ -52,11 +55,9 @@ find . -name '*.pyc' -delete
%check
%pytest
%post
%python_install_alternative confpy-generate
%postun
%python_uninstall_alternative confpy-generate
%pre
# Removing old update-alternatives entries.
%python_libalternatives_reset_alternative confpy-generate
%files %{python_files}
%doc README.rst