Author: salimma
Update of /cvs/free/rpms/miro/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv30424/devel
Modified Files:
miro.spec
Log Message:
* Fri Mar 2 2012 Michel Salim <salimma(a)fedoraproject.org> - 4.0.6-3
- Disable tests by default; rebuild with --with check to override
Index: miro.spec
===================================================================
RCS file: /cvs/free/rpms/miro/devel/miro.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- miro.spec 2 Mar 2012 14:27:40 -0000 1.2
+++ miro.spec 2 Mar 2012 15:10:59 -0000 1.3
@@ -1,3 +1,8 @@
+# disable tests by default,
+# causes failure (perhaps due to resource usage)
+# on RPM Fusion build servers (though they work locally)
+%bcond_with check
+
Name: miro
Version: 4.0.6
Release: 3%{?dist}
@@ -36,6 +41,7 @@
BuildRequires: webkitgtk-devel
# for testing
+%if %{with check}
BuildRequires: dbus-x11
BuildRequires: dbus-python
BuildRequires: GConf2
@@ -47,6 +53,7 @@
BuildRequires: pywebkitgtk
BuildRequires: rb_libtorrent-python
BuildRequires: Xvfb xauth
+%endif
Requires: avahi-compat-libdns_sd
Requires: dbus-python
@@ -96,7 +103,9 @@
cd linux && CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%check
+%if %{with check}
cd linux && LANG=en_US.utf8 xvfb-run -a -w 1 ./test.sh
+%endif
%install
cd linux && %{__python} setup.py install -O1 --skip-build --root %{buildroot}
@@ -147,6 +156,7 @@
%changelog
* Fri Mar 2 2012 Michel Salim <salimma(a)fedoraproject.org> - 4.0.6-3
- Apply upstream patch for terminating DBus after running unit tests
+- Disable tests by default; rebuild with --with check to override
* Wed Feb 8 2012 Michel Salim <salimma(a)fedoraproject.org> - 4.0.6-2
- Add GPLv2 to license field (for miro-segmenter)
Show replies by date