diff --git a/libpwquality.spec b/libpwquality.spec index e274ace32b49a9ad2171242534cc94edf982d781..3a7a78ecf38859359ee1e94988e83771f20c25c1 100644 --- a/libpwquality.spec +++ b/libpwquality.spec @@ -3,7 +3,7 @@ Name: libpwquality Version: 1.4.4 -Release: 2 +Release: 3 Summary: Library for password quality checking and generating random passwords. License: BSD or GPLv2+ URL: https://github.com/libpwquality/libpwquality/ @@ -54,6 +54,11 @@ This package provides Python3 bindings for the libpwquality library. %make_build %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 %make_install rm -f %{buildroot}%{_libdir}/*.la @@ -93,6 +98,12 @@ mkdir %{buildroot}%{_secconfdir}/pwquality.conf.d %{_mandir}/man8/* %changelog +* Tue Jul 26 2022 yixiangzhike - 1.4.4-3 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix the libpwquality build failure issue + * Tue Apr 26 2022 zhangruifang2020 - 1.4.4-2 - Type:bugfix - ID:NA