[X2Go-Commits] [cups-x2go] 01/01: cups-x2go.spec: only select cups-filters on OpenSUSE 13.2+ or SLES 12+.

git-admin at x2go.org git-admin at x2go.org
Wed Feb 11 06:52:43 CET 2015


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

x2go pushed a commit to branch master
in repository cups-x2go.

commit 5a3c1c799a5d76aab3e385bd1643472c0ec40123
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Feb 11 06:52:37 2015 +0100

    cups-x2go.spec: only select cups-filters on OpenSUSE 13.2+ or SLES 12+.
---
 cups-x2go.spec |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/cups-x2go.spec b/cups-x2go.spec
index 1163aec..df18d20 100644
--- a/cups-x2go.spec
+++ b/cups-x2go.spec
@@ -9,11 +9,13 @@ URL:            http://www.x2go.org/
 Source0:        http://code.x2go.org/releases/source/%{name}/%{name}-%{version}.tar.gz
 
 Requires:       cups
-# Also needed at build-time as the package owning the common directories on SUSE.
-%if 0%{?suse_version}
+# /usr/share/ppd/ is provided by ,,cups-filters'' for openSUSE 13.2 and higher and SLES 12 and higher.
+# Older releases provide /usr/share/ppd/ via ,,cups''.
+%if 0%{?suse_version} && 0%{?suse_version} >= 1315
 Requires:       cups-filters
 BuildRequires:  cups-filters
 %endif
+# Also needed at build-time as the package owning the common directories on SUSE.
 %if 0%{?suse_version} || 0%{?el5} || 0%{?el6} || 0%{?rhel} || 0%{?rhel_version} || 0%{?centos_version}
 BuildRequires:  cups
 %endif

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


More information about the x2go-commits mailing list