Add %check section
This commit is contained in:
parent
7e265aeefd
commit
9fdb202526
@ -1,6 +1,6 @@
|
||||
Name: environment-modules
|
||||
Version: 3.2.9a
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Provides dynamic modification of a user's environment
|
||||
|
||||
Group: System Environment/Base
|
||||
@ -13,6 +13,7 @@ Patch0: environment-modules-3.2.7-bindir.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: tcl-devel, tclx-devel, libX11-devel
|
||||
BuildRequires: dejagnu
|
||||
BuildRequires: man
|
||||
#For ps in startup script
|
||||
Requires: procps
|
||||
@ -71,6 +72,10 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/modulefiles
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.GPL README TODO
|
||||
@ -83,6 +88,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Nov 11 2011 Orion Poplawski <orion@cora.nwra.com> - 3.2.9a-2
|
||||
- Add %%check section
|
||||
|
||||
* Fri Nov 11 2011 Orion Poplawski <orion@cora.nwra.com> - 3.2.9a-1
|
||||
- Update to 3.2.9a
|
||||
- Drop strcpy patch
|
||||
|
Loading…
Reference in New Issue
Block a user