Accepting request 1156354 from home:pgajdos

- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang_path macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1156354
OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=310
This commit is contained in:
Jan Engelhardt 2024-03-08 15:45:07 +00:00 committed by Git OBS Bridge
parent 503be84418
commit 303fa6397f
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 8 12:49:59 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 using
%python3_fix_shebang_path macro, [bsc#1212476]
-------------------------------------------------------------------
Fri Jan 12 14:02:10 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -111,7 +111,7 @@ Obsoletes: sssd-common < %version-%release
%define cifs_idmap_lib %_libdir/cifs-utils/cifs_idmap_sss.so
%define cifs_idmap_name cifs-idmap-plugin
%define cifs_idmap_priority 10
Requires(post): update-alternatives
Requires(post):update-alternatives
Requires(postun):update-alternatives
%description
@ -443,6 +443,10 @@ find "$b" -type f -name "*.la" -print -delete
# dummy target for cifs-idmap-plugin
mkdir -pv %buildroot/%_sysconfdir/alternatives %buildroot/%_sysconfdir/cifs-utils
ln -sfv %_sysconfdir/alternatives/%cifs_idmap_name %buildroot/%cifs_idmap_plugin
%python3_fix_shebang
%if %{suse_version} >= 1600
%python3_fix_shebang_path %{buildroot}/%{_libexecdir}/%{name}/
%endif
%check
# sss_config-tests fails