Fix the gpgme build failure issue

Signed-off-by: yixiangzhike <yixiangzhike007@163.com>
This commit is contained in:
yixiangzhike 2022-07-26 16:31:01 +08:00
parent 505d3664dd
commit 555b3dc8b4

View File

@ -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 <yixiangzhike007@163.com> - 1.16.0-2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:fix the gpgme build failure issue
* Mon Jan 24 2022 yixiangzhike <yixiangzhike007@163.com> - 1.16.0-1
- Type:bugfix
- CVE:NA