!2 Fix Eulermaker failure

From: @desert-sailor 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2024-01-19 07:49:56 +00:00 committed by Gitee
commit a5bd9c5985
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-ninja Name: python-ninja
Version: 1.11.1.1 Version: 1.11.1.1
Release: 1 Release: 2
Summary: A small build system with a focus on speed. Summary: A small build system with a focus on speed.
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/ninja-build/ninja URL: https://github.com/ninja-build/ninja
@ -44,6 +44,8 @@ sed -i '/name=/a\version="%{version}",' setup.py
sed -i 's#https.*.gz#file://%{SOURCE1}#g' NinjaUrls.cmake sed -i 's#https.*.gz#file://%{SOURCE1}#g' NinjaUrls.cmake
%build %build
export CFLAGS+=" -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict -fPIC"
export CXXFLAGS+=" -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict -fPIC"
%pyproject_build %pyproject_build
%install %install
@ -73,5 +75,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Fri Jan 19 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.11.1.1-2
- Fix Eulermaker failure
* Mon Dec 25 2023 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.11.1.1-1 * Mon Dec 25 2023 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.11.1.1-1
- Init package - Init package