diff --git a/python-ninja.spec b/python-ninja.spec index 5bfbd9fe869ba91b8d69299996ae17cb9d448efe..abf9f9c9069928ff4580a6756dcf3c6cf36018f6 100644 --- a/python-ninja.spec +++ b/python-ninja.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-ninja Version: 1.11.1.1 -Release: 1 +Release: 2 Summary: A small build system with a focus on speed. License: Apache-2.0 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 %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 %install @@ -73,5 +75,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Jan 19 2024 Dongxing Wang - 1.11.1.1-2 +- Fix Eulermaker failure + * Mon Dec 25 2023 Dongxing Wang - 1.11.1.1-1 - Init package