[gtk-vnc] rpm: always build with vala enabled
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] rpm: always build with vala enabled
- Date: Fri, 3 May 2019 18:02:32 +0000 (UTC)
commit 7f47466e61f01c8ea77c25e5b4becff61b1f87ae
Author: Daniel P. Berrangé <berrange redhat com>
Date: Fri May 3 18:27:32 2019 +0100
rpm: always build with vala enabled
Signed-off-by: Daniel P. Berrangé <berrange redhat com>
gtk-vnc.spec.in | 10 ----------
1 file changed, 10 deletions(-)
---
diff --git a/gtk-vnc.spec.in b/gtk-vnc.spec.in
index 5105997..e8fb254 100644
--- a/gtk-vnc.spec.in
+++ b/gtk-vnc.spec.in
@@ -3,8 +3,6 @@
# This spec file assumes you are building for Fedora 26 or newer,
# or for RHEL 7 or newer. It may need some tweaks for other distros.
-%global with_vala 1
-
%if 0%{?fedora} || 0%{?rhel} >= 8
%global tls_priority "@LIBVIRT,SYSTEM"
%else
@@ -31,9 +29,7 @@ BuildRequires: python
BuildRequires: gnutls-devel libgcrypt-devel cyrus-sasl-devel zlib-devel intltool
BuildRequires: gobject-introspection-devel
BuildRequires: gtk3-devel
-%if %{with_vala}
BuildRequires: vala-tools
-%endif
BuildRequires: pulseaudio-libs-devel
BuildRequires: /usr/bin/pod2man
@@ -153,10 +149,8 @@ make %{?_smp_mflags} check
%files -n gvnc -f %{name}.lang
%{_libdir}/libgvnc-1.0.so.*
%{_libdir}/girepository-1.0/GVnc-1.0.typelib
-%if %{with_vala}
%{_datadir}/vala/vapi/gvnc-1.0.deps
%{_datadir}/vala/vapi/gvnc-1.0.vapi
-%endif
%files -n gvnc-devel
%{_libdir}/libgvnc-1.0.so
@@ -168,10 +162,8 @@ make %{?_smp_mflags} check
%files -n gvncpulse -f %{name}.lang
%{_libdir}/libgvncpulse-1.0.so.*
%{_libdir}/girepository-1.0/GVncPulse-1.0.typelib
-%if %{with_vala}
%{_datadir}/vala/vapi/gvncpulse-1.0.deps
%{_datadir}/vala/vapi/gvncpulse-1.0.vapi
-%endif
%files -n gvncpulse-devel
%{_libdir}/libgvncpulse-1.0.so
@@ -193,10 +185,8 @@ make %{?_smp_mflags} check
%files -n gtk-vnc2
%{_libdir}/libgtk-vnc-2.0.so.*
%{_libdir}/girepository-1.0/GtkVnc-2.0.typelib
-%if %{with_vala}
%{_datadir}/vala/vapi/gtk-vnc-2.0.deps
%{_datadir}/vala/vapi/gtk-vnc-2.0.vapi
-%endif
%files -n gtk-vnc2-devel
%doc examples/gvncviewer.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]