Fixed build

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2023-03-29 00:50:07 +02:00
parent 52e8314f9d
commit 3eef3cf760

View File

@ -413,7 +413,9 @@ Go extension for graphviz.
find -type f -regex '.*\.\(c\|h\)$' -exec chmod a-x {} ';'
%build
./autogen.sh
# https://gitlab.com/graphviz/graphviz/-/issues/2367
#./autogen.sh
%if %{JAVA}
# Hack in the java includes we need
sed -i '/JavaVM.framework/!s/JAVA_INCLUDES=/JAVA_INCLUDES=\"_MY_JAVA_INCLUDES_\"/g' configure