From 9d4a22bbbe84effdb0de616002f8a1dd5f4a13bc Mon Sep 17 00:00:00 2001 From: Liu Yuntao Date: Wed, 27 Jul 2022 21:53:39 +0800 Subject: [PATCH] fix the libpwquailty failure issue --- sssd.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sssd.spec b/sssd.spec index 6a307bf..8dcfab1 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 libpwquality. +# 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 libpwquality build failure issue + * Wed Dec 29 2021 panxiaohe - 2.6.1-1 - update version to 2.6.1 -- Gitee