Skip to content
Snippets Groups Projects
Commit 399ae491 authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

Change more /etc/slurm to %{_sysconfdir}

parent 4f39cf52
No related branches found
No related tags found
No related merge requests found
......@@ -137,9 +137,9 @@ DESTDIR="$RPM_BUILD_ROOT" make install
if test @HAVE_AIX@ == "no"; then
install -D -m755 etc/init.d.slurm $RPM_BUILD_ROOT/etc/init.d/slurm
fi
install -D -m644 etc/slurm.conf.example $RPM_BUILD_ROOT/etc/slurm/slurm.conf.example
install -D -m644 etc/bluegene.conf.example $RPM_BUILD_ROOT/etc/slurm/bluegene.conf.example
install -D -m644 etc/federation.conf.example $RPM_BUILD_ROOT/etc/slurm/federation.conf.example
install -D -m644 etc/slurm.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/slurm.conf.example
install -D -m644 etc/bluegene.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/bluegene.conf.example
install -D -m644 etc/federation.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/federation.conf.example
# Delete unpackaged files:
rm -f $RPM_BUILD_ROOT/%{_libdir}/slurm/*.{a,la}
......@@ -165,7 +165,7 @@ test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/switch_federation.so &&
echo %{_libdir}/slurm/switch_federation.so >> $LIST
test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/proctrack_aix.so &&
echo %{_libdir}/slurm/proctrack_aix.so >> $LIST
echo "%config /etc/slurm/federation.conf.example" >> $LIST
echo "%config %{_sysconfdir}/federation.conf.example" >> $LIST
LIST=./bluegene.files
touch $LIST
......@@ -174,7 +174,7 @@ test -f $RPM_BUILD_ROOT/%{_libdir}/slurm/select_bluegene.so &&
echo "%{_sbindir}/slurm_epilog" >> $LIST
echo "%{_sbindir}/slurm_prolog" >> $LIST
echo "%{_sbindir}/sfree" >> $LIST
echo "%config /etc/slurm/bluegene.conf.example" >> $LIST
echo "%config %{_sysconfdir}/bluegene.conf.example" >> $LIST
#############################################################################
......
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