[gtk-vnc] Update specfile for RHEL-7



commit b3e062f5fc73ea66262d1dff824e555f4a784d16
Author: Daniel P. Berrange <berrange redhat com>
Date:   Fri Apr 27 12:44:27 2012 +0100

    Update specfile for RHEL-7

 gtk-vnc.spec.in |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk-vnc.spec.in b/gtk-vnc.spec.in
index 097e4f5..928edd9 100644
--- a/gtk-vnc.spec.in
+++ b/gtk-vnc.spec.in
@@ -5,12 +5,12 @@
 %define with_plugin 0
 
 %define with_gir 0
-%if 0%{?fedora} >= 12
+%if 0%{?fedora} >= 12 || 0%{?rhel} >= 7
 %define with_gir 1
 %endif
 
 %define with_gtk3 0
-%if 0%{?fedora} >= 15
+%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
 %define with_gtk3 1
 %endif
 
@@ -27,7 +27,7 @@ Version: @VERSION@
 Release: 1%{?dist}%{?extra_release}
 License: LGPLv2+
 Group: Development/Libraries
-Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.4/%{name}-%{version}.tar.gz
+Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.5/%{name}-%{version}.tar.xz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 URL: http://live.gnome.org/gtk-vnc
 BuildRequires: gtk2-devel >= 2.14
@@ -35,7 +35,7 @@ BuildRequires: pygtk2-devel python-devel zlib-devel
 BuildRequires: gnutls-devel cyrus-sasl-devel intltool
 %if %{with_gir}
 BuildRequires: gobject-introspection-devel
-%if 0%{?fedora} < 14
+%if 0%{?fedora} && 0%{?fedora} < 14
 BuildRequires: gir-repository-devel
 %endif
 %endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]