diff --git a/environment-modules.spec b/environment-modules.spec index c772134..517fa8d 100644 --- a/environment-modules.spec +++ b/environment-modules.spec @@ -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 - 3.2.9a-2 +- Add %%check section + * Fri Nov 11 2011 Orion Poplawski - 3.2.9a-1 - Update to 3.2.9a - Drop strcpy patch