Skip to content
Snippets Groups Projects
Commit 953261f5 authored by Mark Grondona's avatar Mark Grondona
Browse files

o some specfile cleanup

parent ed478159
No related branches found
No related tags found
No related merge requests found
......@@ -40,19 +40,21 @@ and static libraries for the SLURM API.
%build
%if %{_with_elan}
WITH_ELAN=--with-elan
WITHELAN=--with-elan
%endif
%if %{_with_authd}
WITH_AUTHD=--with-authd
WITHAUTHD=--with-authd
%endif
%if %{_with_totalview}
WITH_TOTALVIEW=--with-totalview
WITHTV=--with-totalview
%endif
PFX_FIX=--program-prefix=%{?_program_prefix:%{_program_prefix}}
WITHCONF=--with-slurm-conf=/etc/slurm
%configure --enable-debug $PFX_FIX $WITHCONF $WITHELAN $WITHAUTHD $WITHTV
%configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \
--with-slurm-conf=/etc/slurm --enable-debug \
$WITH_ELAN $WITH_AUTHD $WITH_TOTALVIEW
make
%install
......@@ -115,6 +117,11 @@ if [ "$1" = 0 ]; then
fi
fi
%postun
if [ "$1" = 0 ]; then
/sbin/ldconfig %{_libdir}
fi
%changelog
* Sat Jan 26 2003 Joey Ekstrom <jcekstrom@llnl.gov>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment