From 3fd3832981a8362c6e375973a99fe5ef92bba2ad8913a221cefca7b65455ed1c Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 17 Jul 2024 12:08:46 +0000 Subject: [PATCH] [info=bf358d8fff9cbe6e4d724686e14b1ba2f74e5be0130abd0c1aec853471ca572e] OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=317 --- _scmsync.obsinfo | 4 ++-- build.specials.obscpio | 2 +- sssd.changes | 6 ++++++ sssd.spec | 5 ++++- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo index 10a45d3..8430d5a 100644 --- a/_scmsync.obsinfo +++ b/_scmsync.obsinfo @@ -1,4 +1,4 @@ -mtime: 1721128452 -commit: 747483e6173b31472d61e166a581bb9c9034cf6a690a8bc476176dd5b5befaba +mtime: 1721210267 +commit: bf358d8fff9cbe6e4d724686e14b1ba2f74e5be0130abd0c1aec853471ca572e url: https://src.opensuse.org/jengelh/sssd revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio index 114e570..390c95e 100644 --- a/build.specials.obscpio +++ b/build.specials.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8e9d70dca414f164c37d455e73d3eec0537555e5183567128cf0ef329962fed3 +oid sha256:404a63fbe0a6f162e04939e5c78f107a9b74ccee399f829a9d7eed4b826b4e4e size 256 diff --git a/sssd.changes b/sssd.changes index ec838e0..a3e3f54 100644 --- a/sssd.changes +++ b/sssd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 17 09:19:20 UTC 2024 - Samuel Cabrero + +- Fix spec file for openSUSE ALP and SUSE SLFO, where the + python3_fix_shebang_path RPM macro is not available + ------------------------------------------------------------------- Thu Jul 11 09:41:21 UTC 2024 - Samuel Cabrero diff --git a/sssd.spec b/sssd.spec index 41a153c..2466377 100644 --- a/sssd.spec +++ b/sssd.spec @@ -451,8 +451,11 @@ find "$b" -type f -name "*.la" -print -delete mkdir -pv %buildroot/%_sysconfdir/alternatives %buildroot/%_sysconfdir/cifs-utils ln -sfv %_sysconfdir/alternatives/%cifs_idmap_name %buildroot/%cifs_idmap_plugin %python3_fix_shebang -%if 0%{?suse_version} >= 1600 +%if 0%{?suse_version} > 1600 %python3_fix_shebang_path %buildroot/%_libexecdir/%name/ +%elif 0%{?suse_version} == 1600 +# python3_fix_shebang_path macro does not exist in < 1600, was added in python-rom-macros 20231204 +sed -i '1s@#!.*python.*@#!%{_bindir}/python3.11@' %{buildroot}/%{_libexecdir}/%{name}/sss_analyze %endif %check