Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
234e6fe7
Commit
234e6fe7
authored
19 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Experiment.
parent
d1c83742
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
slurm.spec.in
+8
-5
8 additions, 5 deletions
slurm.spec.in
with
8 additions
and
5 deletions
slurm.spec.in
+
8
−
5
View file @
234e6fe7
...
...
@@ -137,7 +137,7 @@ rm -rf "$RPM_BUILD_ROOT"
mkdir -p "$RPM_BUILD_ROOT"
DESTDIR="$RPM_BUILD_ROOT" make install
if test @HAVE_AIX@ ==
"
no
"
; then
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}%{_sysconfdir}/slurm.conf.example
...
...
@@ -150,8 +150,11 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/slurm/*.{a,la}
# Build conditional file list for main package
LIST=./slurm.files
touch $LIST
if test @HAVE_AIX@ ==
"
no
"
; then
if test @HAVE_AIX@ == no
; then
echo "%config(noreplace) /etc/init.d/slurm" >> $LIST
else
echo @HAVE_AIX@ >> $LIST
echo "%config /etc/init.d/slurm" >> $LIST
fi
echo "%doc AUTHORS" >> $LIST
echo "%doc NEWS" >> $LIST
...
...
@@ -266,7 +269,7 @@ rm -rf $RPM_BUILD_ROOT
#fi
%post
if test @HAVE_AIX@ ==
"
no
"
; then
if test @HAVE_AIX@ == no
; then
/sbin/ldconfig %{_libdir}
/sbin/ldconfig %{_libdir}
if [ $1 = 1 ]; then
...
...
@@ -275,7 +278,7 @@ if test @HAVE_AIX@ == "no"; then
fi
%preun
if test @HAVE_AIX@ ==
"
no
"
; then
if test @HAVE_AIX@ == no
; then
if [ "$1" = 0 ]; then
if [ -x /etc/init.d/slurm ]; then
[ -x /sbin/chkconfig ] && /sbin/chkconfig --del slurm
...
...
@@ -287,7 +290,7 @@ if test @HAVE_AIX@ == "no"; then
fi
%postun
if test @HAVE_AIX@ ==
"
no
"
; then
if test @HAVE_AIX@ == no
; then
if [ "$1" = 0 ]; then
/sbin/ldconfig %{_libdir}
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment