diff --git a/gpgme.spec b/gpgme.spec index f6afc44428dd4691a6508ab779f40577f7425a83..aeca1c2f7b682435ebea80bd95ad683d9ddecf1b 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -1,6 +1,6 @@ Name: gpgme Version: 1.17.0 -Release: 2 +Release: 3 Summary: GnuPG Made Easy License: GPLv2+ and LGPLv2+ URL: https://gnupg.org/related_software/gpgme/ @@ -84,6 +84,8 @@ BuildArch: noarch %autosetup -n %{name}-%{version} -p1 %build +# Generate the same python dir as in the %%install +export SETUPTOOLS_USE_DISTUTILS=stdlib %configure --disable-static --disable-silent-rules --enable-languages=cpp,qt,python %make_build @@ -106,6 +108,8 @@ chrpath -d %{buildroot}%{_libdir}/lib%{name}pp.so* chrpath -d %{buildroot}%{_libdir}/libq%{name}.so* %check +# Generate the same python dir as in the %%install +export SETUPTOOLS_USE_DISTUTILS=stdlib make check %ldconfig_scriptlets @@ -151,6 +155,12 @@ fi %changelog +* Sat May 13 2023 yixiangzhike - 1.17.0-3 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:Fix the failure of testcase when building with python-setuptools>=66.0.0 + * Mon Apr 10 2023 lilong - 1.17.0-2 - Type:bugfix - CVE:NA