[vala/el6/master] Disable dbus tests on EL-6
Michel Alexandre Salim
salimma at fedoraproject.org
Fri Nov 12 19:59:19 UTC 2010
commit 601b102fa17ec964520b9bf48ed2a844d3c49493
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date: Fri Nov 12 20:58:55 2010 +0100
Disable dbus tests on EL-6
vala.spec | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/vala.spec b/vala.spec
index 27d9b47..bd8a4a5 100644
--- a/vala.spec
+++ b/vala.spec
@@ -17,6 +17,8 @@ Source0: http://download.gnome.org/sources/vala/0.10/vala-%{version}.tar.
Source1: vala-mode.el
Source2: vala-init.el
Source3: emacs-vala-COPYING
+# dbus tests fail on EL6
+Patch0: vala-0.10.1-no_dbus.patch
BuildRequires: flex
BuildRequires: bison
@@ -27,7 +29,9 @@ BuildRequires: libxslt
BuildRequires: emacs emacs-el
# for tests
+%if ! 0%{el6}
BuildRequires: dbus-x11
+%endif
%description
@@ -135,6 +139,9 @@ the emacs-%{name} package to use Vala with GNU Emacs.
%prep
%setup -q
+%if 0%{?el6}
+%patch0 -p1 -b .no_dbus
+%endif
%build
More information about the scm-commits
mailing list