diff --git a/slurm.spec.in b/slurm.spec.in index de6e3e60acfa576c8924aab270e8e9e2d436aa9f..ad83f223b24455b99bff8a2b2601df812a0221b3 100644 --- a/slurm.spec.in +++ b/slurm.spec.in @@ -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 #############################################################################