Add observer initscript to build rpm
authorSapan Bhatia <gwsapan@gmail.com>
Tue, 5 Aug 2014 03:45:13 +0000 (23:45 -0400)
committerSapan Bhatia <gwsapan@gmail.com>
Tue, 5 Aug 2014 03:45:13 +0000 (23:45 -0400)
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