From 952ab266982d52900d6e3e9095475cacc759756f Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Sat, 13 May 2023 14:13:20 +0800 Subject: [PATCH] Fix the failure of testcase when building with python-setuptools-66.0.0 --- gpgme.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gpgme.spec b/gpgme.spec index f6afc44..aeca1c2 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 -- Gitee