Skip to content
Snippets Groups Projects
Commit ff868281 authored by Moe Jette's avatar Moe Jette
Browse files

move some logic around

parent 68b1bdd7
No related branches found
No related tags found
No related merge requests found
...@@ -343,6 +343,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/security/*.{a,la} ...@@ -343,6 +343,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/security/*.{a,la}
%if ! %{slurm_with auth_none} %if ! %{slurm_with auth_none}
rm -f $RPM_BUILD_ROOT/%{_libdir}/slurm/auth_none.so rm -f $RPM_BUILD_ROOT/%{_libdir}/slurm/auth_none.so
%endif %endif
%if ! %{slurm_with bluegene}
rm -f $RPM_BUILD_ROOT/%{_mandir}/man5/bluegene*
%endif
# Build conditional file list for main package # Build conditional file list for main package
LIST=./slurm.files LIST=./slurm.files
...@@ -358,9 +361,6 @@ install -D -m644 etc/federation.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/fed ...@@ -358,9 +361,6 @@ install -D -m644 etc/federation.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/fed
%if %{slurm_with bluegene} %if %{slurm_with bluegene}
rm ${RPM_BUILD_ROOT}%{_bindir}/srun rm ${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
%else
# Delete unpackaged file
rm -f $RPM_BUILD_ROOT/%{_mandir}/man5/bluegene*
%endif %endif
LIST=./aix.files LIST=./aix.files
......
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