!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
|
Name: gpgme
|
||||||
Version: 1.17.0
|
Version: 1.17.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: GnuPG Made Easy
|
Summary: GnuPG Made Easy
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
URL: https://gnupg.org/related_software/gpgme/
|
URL: https://gnupg.org/related_software/gpgme/
|
||||||
@ -84,6 +84,8 @@ BuildArch: noarch
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%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
|
%configure --disable-static --disable-silent-rules --enable-languages=cpp,qt,python
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
@ -106,6 +108,8 @@ chrpath -d %{buildroot}%{_libdir}/lib%{name}pp.so*
|
|||||||
chrpath -d %{buildroot}%{_libdir}/libq%{name}.so*
|
chrpath -d %{buildroot}%{_libdir}/libq%{name}.so*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
# Generate the same python dir as in the %%install
|
||||||
|
export SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
@ -151,6 +155,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Apr 10 2023 lilong <lilong@kylinos.cn> - 1.17.0-2
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user