forked from pool/python-cfgdiff
Accepting request 1282812 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1282812 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cfgdiff?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 4 14:54:38 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
|
||||
|
||||
- Migration to libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 23 09:05:55 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without libalternatives
|
||||
Name: python-cfgdiff
|
||||
Version: 0.0.0+git.1641843506.dc1234a
|
||||
Release: 0
|
||||
@@ -29,8 +30,10 @@ BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
## /SECTION
|
||||
BuildRequires: alts
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: alts
|
||||
Provides: cfgdiff
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@@ -58,11 +61,9 @@ cfgdiff currently supports the following formats:
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/cfgdiff
|
||||
|
||||
%post
|
||||
%python_install_alternative cfgdiff
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative cfgdiff
|
||||
%pre
|
||||
# Removing old update-alternatives entries.
|
||||
%python_libalternatives_reset_alternative cfgdiff
|
||||
|
||||
%check
|
||||
export PYTHONPATH=.
|
||||
|
||||
Reference in New Issue
Block a user