[python-x2go/el6] Add conditionals for Fedora only packages

Orion Poplawski orion at fedoraproject.org
Mon Dec 9 23:15:12 UTC 2013


commit 0e1ab7bb705967b21642e2f0b3d18aea4e6537cf
Author: Orion Poplawski <orion at nwra.com>
Date:   Mon Dec 9 16:15:14 2013 -0700

    Add conditionals for Fedora only packages

 python-x2go.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/python-x2go.spec b/python-x2go.spec
index 90f5bc1..ad89306 100644
--- a/python-x2go.spec
+++ b/python-x2go.spec
@@ -23,12 +23,18 @@ BuildRequires:  python-tools
 %endif # if with_python3
 # For doc build
 BuildRequires:  epydoc
+%if 0%{?fedora}
 BuildRequires:  python-cups
+%endif
 BuildRequires:  python-gevent
 BuildRequires:  python-paramiko
+%if 0%{?fedora}
 BuildRequires:  python-xlib
+%endif
 Requires:       nxproxy
+%if 0%{?fedora}
 Requires:       python-cups
+%endif
 Requires:       python-gevent
 Requires:       python-paramiko
 Requires:       python-xlib


More information about the scm-commits mailing list