From a4863f1b972271efc262db55311ad8cf74d50c99 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sep 03 2023 18:01:41 +0000 Subject: Fix flatpak build As a build-time-only dependency, the system doxygen in /usr is used even when building jsoncpp for flatpaks in /app. --- diff --git a/jsoncpp.spec b/jsoncpp.spec index a9f3867..5558c0e 100644 --- a/jsoncpp.spec +++ b/jsoncpp.spec @@ -78,7 +78,7 @@ sed -i -e 's!^DOT_FONTNAME.*=.*!DOT_FONTNAME =!g' doc/doxyfile.in %if %{with jsoncpp_enables_doc} # Build the doc cp -p %{__cmake_builddir}/version . -%{__python3} doxybuild.py --with-dot --doxygen %{_bindir}/doxygen +%{__python3} doxybuild.py --with-dot --doxygen /usr/bin/doxygen rm -f version %endif