Accepting request 1181545 from network:samba:STABLE

OBS-URL: https://build.opensuse.org/request/show/1181545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cifs-utils?expand=0&rev=74
This commit is contained in:
2024-06-19 14:36:44 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 13 11:17:37 UTC 2024 - Markéta Machová <mmachova@suse.com>
- remove dependency on /usr/bin/python3 (bsc#1212476)
-------------------------------------------------------------------
Mon Feb 26 10:44:32 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package cifs-utils
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -48,7 +48,7 @@ Patch1: fix-sbin-install-error.patch
%define cifs_idmap_priority 20
BuildRequires: update-alternatives
Requires(post): update-alternatives
Requires(preun):update-alternatives
Requires(preun): update-alternatives
# cifs-utils 6.8 switched to python for man page generation
# we need to require either py2 or py3 package
@@ -177,6 +177,8 @@ touch %{buildroot}/%{_sysconfdir}/sysconfig/network/if-{down,up}.d/${script} \
%fdupes %{buildroot}
%endif
%python3_fix_shebang
%post
# install cifs-utils cifs-idmap plugin using alternatives system
update-alternatives --install %{cifs_idmap_plugin} %{cifs_idmap_name} %{cifs_idmap_lib} %{cifs_idmap_priority}