[kdenetwork/f19] freerdp is too old in f18

Than Ngo than at fedoraproject.org
Sat Jul 13 09:20:48 UTC 2013


commit 2665718d3944ad166b4c5d834424e084f8090e3e
Author: Than Ngo <than at redhat.com>
Date:   Sat Jul 13 11:20:02 2013 +0200

    freerdp is too old in f18

 kdenetwork.spec |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/kdenetwork.spec b/kdenetwork.spec
index 8ac7a4d..0e8e8e8 100644
--- a/kdenetwork.spec
+++ b/kdenetwork.spec
@@ -4,6 +4,14 @@
 #define use_system_iris 1
 %endif
 
+%if 0%{?fedora} > 18
+%define freerdp 1
+%endif
+
+%if 0%{?rhel} > 6
+%define freerdp 1
+%endif
+
 Summary: KDE Network Applications
 Name:    kdenetwork
 Epoch:   7
@@ -89,8 +97,10 @@ BuildRequires: pkgconfig(sqlite3)
 BuildRequires: pkgconfig(libv4l2)
 BuildRequires: libvncserver-devel
 BuildRequires: openldap-devel
+%if 0%{?freerdp}
 # freerdp support
 BuildRequires: freerdp >= 1.0.2
+%endif
 #-----------------------------------------------------------------------------
 #-- The following OPTIONAL packages could NOT be located on your system.
 #-- Consider installing them to enable more features from this software.
@@ -246,7 +256,10 @@ Requires: %{name}-krfb = %{epoch}:%{version}-%{release}
 %patch50 -p1 -b .libjingle_openssl
 %patch51 -p1 -b .krdc_icon
 %patch52 -p1 -b .doc
+
+%if 0%{?freerdp}
 %patch100 -p1 -b .freerdp
+%endif
 
 %if 0%{?use_system_iris:1}
 mv kopete/protocols/jabber/libiris \


More information about the scm-commits mailing list