From 303fa6397f77b999c9abcb698e3596d39ec6e0349be0ea77c9bb65a7892fdd4f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 8 Mar 2024 15:45:07 +0000 Subject: [PATCH] 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 --- sssd.changes | 6 ++++++ sssd.spec | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/sssd.changes b/sssd.changes index 2d24d37..cb0676f 100644 --- a/sssd.changes +++ b/sssd.changes @@ -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 diff --git a/sssd.spec b/sssd.spec index 924623f..955608a 100644 --- a/sssd.spec +++ b/sssd.spec @@ -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