Add %%check section

This commit is contained in:
Orion Poplawski 2008-03-28 15:11:31 +00:00
parent 0f9f65890e
commit abc4e2896d

View File

@ -11,7 +11,6 @@ Group: Development/Tools
License: BSD License: BSD
URL: http://www.cmake.org URL: http://www.cmake.org
Source0: http://www.cmake.org/files/v2.4/cmake-%{version}.tar.gz Source0: http://www.cmake.org/files/v2.4/cmake-%{version}.tar.gz
Source1: cmake-init-fedora
Source2: macros.cmake Source2: macros.cmake
Patch0: cmake-2.4.2-fedora.patch Patch0: cmake-2.4.2-fedora.patch
Patch1: cmake-2.4.5-xmlrpc.patch Patch1: cmake-2.4.5-xmlrpc.patch
@ -58,6 +57,10 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
%check
ctest -V
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -78,6 +81,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Mar 7 2008 Orion Poplawski <orion@cora.nwra.com> - 2.4.8-3 * Fri Mar 7 2008 Orion Poplawski <orion@cora.nwra.com> - 2.4.8-3
- Add macro for bootstrapping new release/architecture - Add macro for bootstrapping new release/architecture
- Add %%check section
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.4.8-2 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.4.8-2
- Autorebuild for GCC 4.3 - Autorebuild for GCC 4.3