[X2Go-Commits] [x2goserver] 01/02: x2goserver.spec: more platform-specific condition fixup.

git-admin at x2go.org git-admin at x2go.org
Tue Mar 7 06:09:14 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch release/4.0.1.x
in repository x2goserver.

commit 15c0700a505ab8c6cb019fc7c9eeb1962ddf1f3a
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Mar 7 05:59:10 2017 +0100

    x2goserver.spec: more platform-specific condition fixup.
---
 debian/changelog | 1 +
 x2goserver.spec  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 7d39044..732b1ac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -43,6 +43,7 @@ x2goserver (4.0.1.21-0x2go1) UNRELEASED; urgency=medium
     - Fix typo in %if condition (0%?{?fedora} instead of 0%{?fedora}.)
     - Contrary to other information that says "brackets" and consistent with
       RPM's source code, grouping is done via "(" and ")" in conditions.
+    - More platform-specific condition fixup.
   * debian/po:
     - Tiny fixup on author name.
   * debian/control:
diff --git a/x2goserver.spec b/x2goserver.spec
index 08cd1b0..3496925 100644
--- a/x2goserver.spec
+++ b/x2goserver.spec
@@ -317,7 +317,7 @@ Requires(post):   shared-mime-info
 Requires(postun): shared-mime-info
 %endif
 Requires:       xdg-utils
-%if 0%{?suse_version} || 0%{?fedora} < 25 || 0%{?rhel} < 8
+%if 0%{?suse_version} || ( 0%{?fedora} && 0%{?fedora} < 25 ) || ( 0%{?rhel} && 0%{?rhel} < 8 )
 Requires(post):   desktop-file-utils
 Requires(postun): desktop-file-utils
 %endif

--
Alioth's /srv/git/code.x2go.org/x2goserver.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list