git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5504940
)
Make changes to install observer initscript in the right place
author
Sapan Bhatia
<gwsapan@gmail.com>
Tue, 5 Aug 2014 03:49:52 +0000
(23:49 -0400)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Tue, 5 Aug 2014 03:49:52 +0000
(23:49 -0400)
opencloud.spec
patch
|
blob
|
history
diff --git
a/opencloud.spec
b/opencloud.spec
index
3ec5a17
..
5b6bed4
100644
(file)
--- a/
opencloud.spec
+++ b/
opencloud.spec
@@
-70,6
+70,7
@@
fi
rm -rf %{buildroot}
mkdir -p %{buildroot}
install -d %{buildroot}/opt/planetstack
+install -d %{buildroot}/etc/init.d
# in builddir
cp -rp ./planetstack %{buildroot}/opt/.
@@
-77,6
+78,7
@@
cp observer-initscript %{buildroot}/etc/init.d/plstackobserver
find %{buildroot}/opt/planetstack -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" > %{_tmppath}/tmp-filelist
cp %{_tmppath}/tmp-filelist /tmp/tmp-filelist
+echo /etc/init.d/plstackobserver > %{_tmppath}/tmp-filelist
%clean
rm -rf %{buildroot}