From 555b3dc8b4d9750226c5687805dc75bbb4e2a977 Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Tue, 26 Jul 2022 16:31:01 +0800 Subject: [PATCH] Fix the gpgme build failure issue Signed-off-by: yixiangzhike --- gpgme.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gpgme.spec b/gpgme.spec index a4e6af5..a458857 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -1,6 +1,6 @@ Name: gpgme Version: 1.16.0 -Release: 1 +Release: 2 Summary: GnuPG Made Easy License: GPLv2+ and LGPLv2+ URL: https://gnupg.org/related_software/gpgme/ @@ -89,6 +89,11 @@ BuildArch: noarch %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 gpgme. +# Now, set SETUPTOOLS_USE_DISTUTILS value to stdlib +export SETUPTOOLS_USE_DISTUTILS=stdlib %make_install chrpath -d $(find %{buildroot} -name gpgme-json) @@ -147,6 +152,12 @@ fi %changelog +* Tue Jul 26 2022 yixiangzhike - 1.16.0-2 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:fix the gpgme build failure issue + * Mon Jan 24 2022 yixiangzhike - 1.16.0-1 - Type:bugfix - CVE:NA -- Gitee