!21 【Mainline】Fix the failure of testcase when building with python-setuptools-66.0.0
From: @yixiangzhike Reviewed-by: @HuaxinLuGitee Signed-off-by: @HuaxinLuGitee
This commit is contained in:
commit
e86724dde4
12
gpgme.spec
12
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 <yixiangzhike007@163.com> - 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 <lilong@kylinos.cn> - 1.17.0-2
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user