run 'make test' during build
This commit is contained in:
parent
b43dc736d4
commit
51f718a2a5
@ -8,7 +8,7 @@
|
|||||||
Summary: A collection of SNMP protocol tools and libraries
|
Summary: A collection of SNMP protocol tools and libraries
|
||||||
Name: net-snmp
|
Name: net-snmp
|
||||||
Version: %{major_ver}
|
Version: %{major_ver}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
License: BSD and MIT
|
License: BSD and MIT
|
||||||
@ -232,6 +232,9 @@ pushd python
|
|||||||
%{__python} setup.py --basedir="../" build
|
%{__python} setup.py --basedir="../" build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
%makeinstall ucdincludedir=${RPM_BUILD_ROOT}/usr/include/ucd-snmp
|
%makeinstall ucdincludedir=${RPM_BUILD_ROOT}/usr/include/ucd-snmp
|
||||||
@ -414,6 +417,8 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_datadir}/snmp/mibs
|
%{_datadir}/snmp/mibs
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- explicitly require the right version and release of net-snmp and
|
||||||
net-snmp-libs
|
net-snmp-libs
|
||||||
|
Loading…
Reference in New Issue
Block a user