RHEL 9.0.0 Alpha bootstrap

The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/tigervnc#c14e17f843e2b12cf6e76fdbcaa2d32c504e20e5
This commit is contained in:
Troy Dawson 2020-10-22 08:32:50 -07:00
parent ae10d2f2ae
commit ed3aba81e2

View File

@ -173,7 +173,7 @@ export CXXFLAGS="$CFLAGS -std=c++11"
pushd unix/xserver pushd unix/xserver
%if 0%{?fedora} > 32 %if 0%{?fedora} > 32 || 0%{?rhel} >= 9
sed -i 's@TIGERVNC_BUILDDIR=${TIGERVNC_SRCDIR}@TIGERVNC_BUILDDIR=${TIGERVNC_SRCDIR}/%{_target_platform}@g' hw/vnc/Makefile.am sed -i 's@TIGERVNC_BUILDDIR=${TIGERVNC_SRCDIR}@TIGERVNC_BUILDDIR=${TIGERVNC_SRCDIR}/%{_target_platform}@g' hw/vnc/Makefile.am
%endif %endif
@ -199,7 +199,7 @@ make %{?_smp_mflags}
popd popd
# Build icons # Build icons
%if 0%{?fedora} > 32 %if 0%{?fedora} > 32 || 0%{?rhel} >= 9
pushd %{_target_platform}/media pushd %{_target_platform}/media
%else %else
pushd media pushd media
@ -238,7 +238,7 @@ install -m644 tigervnc_$s.png %{buildroot}%{_datadir}/icons/hicolor/${s}x$s/apps
done done
popd popd
%if 0%{?fedora} > 33 %if 0%{?fedora} > 33 || 0%{?rhel} >= 9
# Install a replacement for /usr/bin/vncserver which will tell the user to read the # Install a replacement for /usr/bin/vncserver which will tell the user to read the
# HOWTO.md file # HOWTO.md file
cat <<EOF > %{buildroot}/%{_bindir}/vncserver cat <<EOF > %{buildroot}/%{_bindir}/vncserver