[X2Go-Commits] [x2gokdriveclient] 02/04: x2gokdriveclient.spec: don't use Enhances: tag on CentOS 7 (but all other platforms).

git-admin at x2go.org git-admin at x2go.org
Fri May 26 20:01:19 CEST 2023


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

x2go pushed a commit to branch master
in repository x2gokdriveclient.

commit f96208042507b090d2852af848c45a4cd24d43eb
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri May 26 19:37:47 2023 +0200

    x2gokdriveclient.spec: don't use Enhances: tag on CentOS 7 (but all other platforms).
---
 debian/changelog      | 1 +
 x2gokdriveclient.spec | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 71ef790..23c7835 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -127,5 +127,6 @@ x2gokdriveclient (0.0.0.1-0x2go1) UNRELEASED; urgency=medium
       triggered for non-existent Qt6 builds.
     + Add PREFIX to make call.
     + Add BR: pkgconfig(zlib).
+    + Don't use Enhances: tag on CentOS 7 (but all other platforms).
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Tue, 04 Jun 2019 11:10:43 +0200
diff --git a/x2gokdriveclient.spec b/x2gokdriveclient.spec
index be97e53..c39a87d 100644
--- a/x2gokdriveclient.spec
+++ b/x2gokdriveclient.spec
@@ -85,7 +85,10 @@ BuildRequires:  redhat-rpm-config
 BuildRequires:  fdupes
 %endif
 
+# We'll assume that only CentOS 7 does not support the Enhances tag.
+%if ! 0%{?rhel} || 0%{?rhel} > 7
 Enhances:       x2goclient
+%endif
 
 %if 0%{?el5}
 # For compatibility with EPEL5

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdriveclient.git


More information about the x2go-commits mailing list