[adcli] Run the test suite when building the package

Stef Walter stefw at fedoraproject.org
Tue Jun 11 09:56:42 UTC 2013


commit 27696ce70337b5b7ed2c88b3804ccf984ee0b999
Author: Stef Walter <stefw at redhat.com>
Date:   Tue Jun 11 11:00:36 2013 +0200

    Run the test suite when building the package

 adcli.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/adcli.spec b/adcli.spec
index ed2f5ca..bb98e87 100644
--- a/adcli.spec
+++ b/adcli.spec
@@ -1,6 +1,6 @@
 Name:		adcli
 Version:	0.7.1
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Active Directory enrollment
 License:	LGPLv2+
 URL:		http://cgit.freedesktop.org/realmd/adcli
@@ -32,6 +32,9 @@ standard LDAP and Kerberos calls.
 %configure --disable-static
 make %{?_smp_mflags}
 
+%check
+make check
+
 %install
 make install DESTDIR=%{buildroot}
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
@@ -48,6 +51,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %doc %{_datadir}
 
 %changelog
+* Tue Jun 11 2013 Stef Walter <stefw at redhat.com> - 0.7.1-3
+- Run 'make check' when building the package
+
 * Mon May 13 2013 Stef Walter <stefw at redhat.com> - 0.7.1-2
 - Bump version to get around botched update
 


More information about the scm-commits mailing list