run 'make test' during build

This commit is contained in:
Jan Šafránek 2008-11-20 11:50:24 +00:00
parent b43dc736d4
commit 51f718a2a5

View File

@ -8,7 +8,7 @@
Summary: A collection of SNMP protocol tools and libraries
Name: net-snmp
Version: %{major_ver}
Release: 1%{?dist}
Release: 2%{?dist}
Epoch: 1
License: BSD and MIT
@ -232,6 +232,9 @@ pushd python
%{__python} setup.py --basedir="../" build
popd
%check
make test
%install
rm -rf ${RPM_BUILD_ROOT}
%makeinstall ucdincludedir=${RPM_BUILD_ROOT}/usr/include/ucd-snmp
@ -414,6 +417,8 @@ rm -rf ${RPM_BUILD_ROOT}
%{_datadir}/snmp/mibs
%changelog
* Thu Nov 20 2008 Jan Safranek <jsafranek@redhat.com> 5.4.2.1-2
* Mon Nov 3 2008 Jan Safranek <jsafranek@redhat.com> 5.4.2.1-1
- explicitly require the right version and release of net-snmp and
net-snmp-libs