[telepathy-salut] Add %check to run the upstream test suite on each build

Debarshi Ray rishi at fedoraproject.org
Thu Oct 17 11:28:51 UTC 2013


commit 566b748e98698abd4a5a591b75843291512f2e00
Author: Debarshi Ray <debarshir at gnome.org>
Date:   Thu Oct 17 13:14:53 2013 +0200

    Add %check to run the upstream test suite on each build

 telepathy-salut.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/telepathy-salut.spec b/telepathy-salut.spec
index b9bb355..b45af59 100644
--- a/telepathy-salut.spec
+++ b/telepathy-salut.spec
@@ -1,6 +1,6 @@
 Name:           telepathy-salut
 Version:        0.8.1
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Link-local XMPP telepathy connection manager
 
 Group:          Applications/Communications
@@ -10,12 +10,15 @@ Source0:        http://telepathy.freedesktop.org/releases/%{name}/%{name}-%{vers
 
 BuildRequires:  dbus-devel >= 1.1.0
 BuildRequires:	dbus-glib-devel >= 0.61
+BuildRequires:	dbus-python
 BuildRequires:	avahi-gobject-devel
 BuildRequires:	libxml2-devel
 BuildRequires:	openssl-devel
 BuildRequires:	cyrus-sasl-devel
 BuildRequires:	libxslt
 BuildRequires:	libasyncns-devel >= 0.3
+BuildRequires:	pygobject2
+BuildRequires:	python-twisted-words
 BuildRequires:	telepathy-glib-devel >= 0.17.1
 BuildRequires:  libuuid-devel
 BuildRequires:	libsoup-devel
@@ -49,6 +52,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/*.html
 
 
+%check
+make check
+
+
 %post -p /sbin/ldconfig
 
 
@@ -71,6 +78,9 @@ rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/*.html
 
 
 %changelog
+* Thu Oct 17 2013 Debarshi Ray <rishi at fedoraproject.org> - 0.8.1-5
+- Add %%check to run the upstream test suite on each build
+
 * Wed Oct 16 2013 Debarshi Ray <rishi at fedoraproject.org> - 0.8.1-4
 - Resolve possible multilib conflict
 


More information about the scm-commits mailing list