Apply fixes for out-of-source build only for F33+

This commit is contained in:
Jan Grulich 2020-09-09 09:17:49 +02:00
parent 17ebb60f9e
commit 675cde05c7

View File

@ -158,7 +158,10 @@ export CXXFLAGS="$CFLAGS -std=c++11"
%cmake_build
pushd unix/xserver
%if 0%{?fedora} > 32
sed -i 's@TIGERVNC_BUILDDIR=${TIGERVNC_SRCDIR}@TIGERVNC_BUILDDIR=${TIGERVNC_SRCDIR}/%{_target_platform}@g' hw/vnc/Makefile.am
%endif
autoreconf -fiv
%configure \
@ -182,7 +185,11 @@ make %{?_smp_mflags}
popd
# Build icons
%if 0%{?fedora} > 32
pushd %{_target_platform}/media
%else
pushd media
%endif
make
popd