Dominique Leuenberger 2022-04-26 18:16:20 +00:00 committed by Git OBS Bridge
commit 71068dc62d
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 22 20:42:31 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Python package: Do not use C json parser on 32bit as large numbers
will overflow.
-------------------------------------------------------------------
Sun Apr 3 13:12:28 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -402,6 +402,10 @@ export CPPFLAGS="-I %{buildroot}%{_includedir} -I %{buildroot}%{_includedir}/ope
%python_build
%python_install
popd
# Currently (version 2.17) the c parser for json is broken on 32bit (int overflow for number parsing)
%ifarch i386 i586 i686
%python_expand rm -v %{buildroot}%{$python_sitearch}/ovs/_json*.so
%endif
%python_expand %fdupes %{buildroot}%{$python_sitearch}