Fix detection of open_memstream

This commit is contained in:
Jerry James 2023-10-11 19:25:54 -06:00
parent a57187ad13
commit 64440ae7d2
1 changed files with 5 additions and 0 deletions

View File

@ -154,6 +154,10 @@ for f in $(grep -Frl numpy.distutils); do
rm $f.orig
done
# Work around failure to detect open_memstream. In glibc, open_memstream is
# not a real function. It is a weak alias to __open_memstream.
sed -i "s/\('has_openmemstream', \)'0'/\1'1'/" scipy/_lib/meson.build
%build
export SCIPY_USE_PYTHRAN=0%{?with_pythran}
@ -292,6 +296,7 @@ popd
- Add Provides for bundled projects
- Disable LTO
- Pythran works on 32-bit architectures again
- Fix detection of open_memstream
* Wed Jul 12 2023 psimovec <psimovec@redhat.com> - 1.11.1-1
- New upstream release 1.11.1