Enable old vncserver script for RHEL 9

This commit is contained in:
Jan Grulich 2021-03-05 11:01:22 +01:00
parent 76f1c5ad21
commit 6a4fb9f794

View File

@ -1,6 +1,6 @@
Name: tigervnc
Version: 1.11.0
Release: 10%{?dist}
Release: 11%{?dist}
Summary: A TigerVNC remote display system
%global _hardened_build 1
@ -238,7 +238,7 @@ install -m644 tigervnc_$s.png %{buildroot}%{_datadir}/icons/hicolor/${s}x$s/apps
done
popd
%if 0%{?fedora} > 33 || 0%{?rhel} >= 9
%if 0%{?rhel} > 9
# Install a replacement for /usr/bin/vncserver which will tell the user to read the
# HOWTO.md file
cat <<EOF > %{buildroot}/%{_bindir}/vncserver
@ -339,6 +339,9 @@ fi
%{_datadir}/selinux/packages/vncsession.pp
%changelog
* Fri Mar 05 2021 Jan Grulich <jgrulich@redhat.com> - 1.11.0-11
- Enable old vncserver script for RHEL 9
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild