From 9fdb2025263128a20ebb691ff969b6cd7be21a20 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 11 Nov 2011 15:00:04 -0700 Subject: [PATCH] Add %check section --- environment-modules.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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