Add observer initscript to build rpm
[plstackapi.git] / opencloud.spec
index 3b9d35a..99ef970 100644 (file)
@@ -73,6 +73,7 @@ install -d %{buildroot}/opt/planetstack
 
 # in builddir
 cp -rp ./planetstack %{buildroot}/opt/.
+cp opencloud-initscript %{buildroot}/etc/init.d
 
 find %{buildroot}/opt/planetstack -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" > %{_tmppath}/tmp-filelist
 cp %{_tmppath}/tmp-filelist /tmp/tmp-filelist