From 2d7711fffc371be7cecef295b45dddaf27a8462d Mon Sep 17 00:00:00 2001 From: zhouchenchen123 Date: Fri, 29 Jul 2022 15:49:08 +0800 Subject: [PATCH] fix the sssd failure issue --- sssd.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sssd.spec b/sssd.spec index 6a307bf..568bc74 100644 --- a/sssd.spec +++ b/sssd.spec @@ -1,6 +1,6 @@ Name: sssd Version: 2.6.1 -Release: 1 +Release: 2 Summary: System Security Services Daemon License: GPLv3+ and LGPLv3+ URL: https://pagure.io/SSSD/sssd/ @@ -182,6 +182,11 @@ make %{?_smp_mflags} check VERBOSE=yes unset CK_TIMEOUT_MULTIPLIER %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 @@ -538,6 +543,9 @@ fi %{_libdir}/%{name}/modules/libwbclient.so %changelog +* Wed Jul 27 2022 zhouchenchen - 2.6.1-2 +- fix the sssd build failure issue + * Wed Dec 29 2021 panxiaohe - 2.6.1-1 - update version to 2.6.1 -- Gitee