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