Run the test suite when building the package

This commit is contained in:
Stef Walter 2013-06-11 11:00:36 +02:00
parent 8c516533a5
commit 27696ce703

View File

@ -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@redhat.com> - 0.7.1-3
- Run 'make check' when building the package
* Mon May 13 2013 Stef Walter <stefw@redhat.com> - 0.7.1-2
- Bump version to get around botched update