[X2Go-Commits] [nx-libs] 02/02: nx-libs.spec: actually use a weak dependency for xkeyboard-config.
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 08:27:30 CET 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit 8cca3f09d85a4eaab2df1d671a0f57972b1c167d
Author: Mihai Moldovan <ionic at ionic.de>
Date: Fri Dec 15 08:26:23 2017 +0100
nx-libs.spec: actually use a weak dependency for xkeyboard-config.
At least on platforms that support weak dependencies.
---
nx-libs.spec | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/nx-libs.spec b/nx-libs.spec
index 440e72c..9506cb7 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -316,7 +316,17 @@ Requires: xorg-x11-font-utils
# Should be a weak dependency, because this package
# works without the dependency.
+# *SUSE supports weak dependencies since version 10,
+# so when it comes to our "supported" platforms any
+# *SUSE version supports that feature.
+# Fedora supports it since version 21. RHEL has not
+# yet had any release based on anything newer than
+# FC19, so no support on RHEL.
+%if 0%{?fedora} >= 21 || 0%{?suse_version}
+Recommends: xkeyboard-config
+%else
Requires: xkeyboard-config
+%endif
# For /usr/bin/xkbcomp
%if 0%{?fedora} || 0%{?rhel}
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list