!43 fix sssd build failed

From: @zhouchenchen123 
Reviewed-by: @zhujianwei001 
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2022-07-29 08:38:24 +00:00 committed by Gitee
commit f9a6649c42
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: sssd Name: sssd
Version: 2.6.1 Version: 2.6.1
Release: 1 Release: 2
Summary: System Security Services Daemon Summary: System Security Services Daemon
License: GPLv3+ and LGPLv3+ License: GPLv3+ and LGPLv3+
URL: https://pagure.io/SSSD/sssd/ URL: https://pagure.io/SSSD/sssd/
@ -182,6 +182,11 @@ make %{?_smp_mflags} check VERBOSE=yes
unset CK_TIMEOUT_MULTIPLIER unset CK_TIMEOUT_MULTIPLIER
%install %install
# python-setuptools >= v60.0.0 changes the SETUPTOOLS_USE_DISTUTILS default value to local,
# it does't use Python's standard library distutils default.
# As a result, failed to build sssd.
# Now, set SETUPTOOLS_USE_DISTUTILS value to stdlib
export SETUPTOOLS_USE_DISTUTILS=stdlib
sed -i -e 's:/usr/bin/python:/usr/bin/python3:' src/tools/sss_obfuscate sed -i -e 's:/usr/bin/python:/usr/bin/python3:' src/tools/sss_obfuscate
@ -538,6 +543,9 @@ fi
%{_libdir}/%{name}/modules/libwbclient.so %{_libdir}/%{name}/modules/libwbclient.so
%changelog %changelog
* Wed Jul 27 2022 zhouchenchen <zhouchenchen@huawei.com> - 2.6.1-2
- fix the sssd build failure issue
* Wed Dec 29 2021 panxiaohe <panxiaohe@huawei.com> - 2.6.1-1 * Wed Dec 29 2021 panxiaohe <panxiaohe@huawei.com> - 2.6.1-1
- update version to 2.6.1 - update version to 2.6.1