From a4d3e38eb05a470ae937213d1815facc9873de54 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Mon, 4 Aug 2014 23:49:52 -0400 Subject: [PATCH] Make changes to install observer initscript in the right place --- opencloud.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opencloud.spec b/opencloud.spec index 3ec5a17..5b6bed4 100644 --- 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} -- 2.43.0