Skip to content
Snippets Groups Projects
Commit 7a91054d authored by Danny Auble's avatar Danny Auble
Browse files

Fixed Spec file to correctly build on a bluegene system, and made file

more maintainable.
parent 51a88296
No related branches found
No related tags found
No related merge requests found
...@@ -484,7 +484,6 @@ install -D -m644 etc/federation.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/fed ...@@ -484,7 +484,6 @@ install -D -m644 etc/federation.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/fed
%endif %endif
%if %{slurm_with bluegene} %if %{slurm_with bluegene}
rm -f ${RPM_BUILD_ROOT}%{_bindir}/srun
install -D -m644 etc/bluegene.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/bluegene.conf.example install -D -m644 etc/bluegene.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/bluegene.conf.example
mkdir -p ${RPM_BUILD_ROOT}/etc/ld.so.conf.d mkdir -p ${RPM_BUILD_ROOT}/etc/ld.so.conf.d
echo "%{_libdir}/slurm" > ${RPM_BUILD_ROOT}/etc/ld.so.conf.d/slurm.conf echo "%{_libdir}/slurm" > ${RPM_BUILD_ROOT}/etc/ld.so.conf.d/slurm.conf
...@@ -560,25 +559,7 @@ rm -rf $RPM_BUILD_ROOT ...@@ -560,25 +559,7 @@ rm -rf $RPM_BUILD_ROOT
%doc DISCLAIMER %doc DISCLAIMER
%doc COPYING %doc COPYING
%doc doc/html %doc doc/html
%{_bindir}/sacct %{_bindir}/s*
%{_bindir}/sacctmgr
%{_bindir}/salloc
%{_bindir}/sattach
%{_bindir}/sbatch
%{_bindir}/sbcast
%{_bindir}/scancel
%{_bindir}/scontrol
%{_bindir}/sinfo
%{_bindir}/smap*
%{_bindir}/sprio
%{_bindir}/squeue
%{_bindir}/sreport
%if ! %{slurm_with srun2aprun}
%{_bindir}/srun
%endif
%{_bindir}/sshare
%{_bindir}/sstat
%{_bindir}/strigger
%{_sbindir}/slurmctld %{_sbindir}/slurmctld
%{_sbindir}/slurmd %{_sbindir}/slurmd
%{_sbindir}/slurmstepd %{_sbindir}/slurmstepd
...@@ -612,6 +593,9 @@ rm -rf $RPM_BUILD_ROOT ...@@ -612,6 +593,9 @@ rm -rf $RPM_BUILD_ROOT
%exclude %{_mandir}/man1/srun_cr* %exclude %{_mandir}/man1/srun_cr*
%exclude %{_bindir}/srun_cr %exclude %{_bindir}/srun_cr
%endif %endif
%if %{slurm_with srun2aprun}
%exclude %{_bindir}/srun*
%endif
############################################################################# #############################################################################
%files devel %files devel
......
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