diff --git a/slurm.spec b/slurm.spec index 8bc07fcc13f6fc846e7f5255d67e4005b96b2282..42b3b6088031f0c8dbc56e376cb79a54810671f4 100644 --- a/slurm.spec +++ b/slurm.spec @@ -617,10 +617,10 @@ LIST=./slurm.files touch $LIST test -f $RPM_BUILD_ROOT/etc/init.d/slurm && echo /etc/init.d/slurm >> $LIST -test -f $RPM_BUILD_ROOT/usr/sbin/capmc_suspend && - echo /usr/sbin/capmc_suspend >> $LIST -test -f $RPM_BUILD_ROOT/usr/sbin/capmc_resume && - echo /usr/sbin/capmc_resume >> $LIST +test -f $RPM_BUILD_ROOT/%{_sbindir}/capmc_suspend && + echo %{_sbindir}/capmc_suspend >> $LIST +test -f $RPM_BUILD_ROOT/%{_sbindir}/capmc_resume && + echo %{_sbindir}/capmc_resume >> $LIST test -f $RPM_BUILD_ROOT/usr/sbin/rcslurm && echo /usr/sbin/rcslurm >> $LIST test -f $RPM_BUILD_ROOT/usr/lib/systemd/system/slurmctld.service &&