masatana commented on code in PR #1295:
URL: https://github.com/apache/bigtop/pull/1295#discussion_r1802166343


##########
bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec:
##########
@@ -179,50 +180,58 @@ bash %{SOURCE2} \
           --system-lib-dir=%{lib_dir}
 
 %if  %{?suse_version:1}0
-orig_init_file=%{SOURCE4}
+     orig_init_file=%{SOURCE4}
+     %__install -d -m 0755 $RPM_BUILD_ROOT/%{initd_dir}/
+     init_file=$RPM_BUILD_ROOT/%{initd_dir}/%{svc_zookeeper}
+     %__cp $orig_init_file $init_file
+     chmod 755 $init_file
 %else
-orig_init_file=%{SOURCE3}
+#orig_init_file=%{SOURCE3}
 %endif

Review Comment:
   Thank you. I'll remove SUSE-releated code.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to