Temporarily disable the RPATH check to unblock the Python 3.10 rebuild

This commit is contained in:
Miro Hrončok 2021-06-07 11:38:53 +02:00
parent c9c6637f03
commit 9adc5a5676

View File

@ -5,6 +5,17 @@
# '_ZZNSt8__detail18__to_chars_10_implIjEEvPcjT_E8__digits@@LLVM_11'
%global _lto_cflags %{nil}
# https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild
# https://bugzilla.redhat.com/show_bug.cgi?id=1902729
# ERROR 0008: file '/usr/lib64/mpich/lib/vtk/libvtkFiltersParallelGeometryJava.so'
# ERROR 0008: file '/usr/lib64/mpich/lib/vtk/libvtkFiltersParallelGeometryJava.so'
# ERROR 0008: file '/usr/lib64/mpich/lib/vtk/libvtkParallelMPIJava.so'
# ERROR 0008: file '/usr/lib64/mpich/lib/vtk/libvtkParallelMPIJava.so'
# contains the $ORIGIN runpath specifier at the wrong position in [/usr/lib64/mpich/lib:$ORIGIN:$ORIGIN/../]
# TODO fix or investigate
%global __brp_check_rpaths %{nil}
# OSMesa and X support are mutually exclusive.
# TODO - buid separate OSMesa version if desired
%bcond_with OSMesa