You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jp...@apache.org on 2018/11/28 04:57:44 UTC

[mesos] branch master updated: Fixed some incorrect CentOS RPM build settings.

This is an automated email from the ASF dual-hosted git repository.

jpeach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 84a6eef  Fixed some incorrect CentOS RPM build settings.
84a6eef is described below

commit 84a6eef111ea6ee86f02527527ae9b4ea06a74fb
Author: se choi <th...@gmail.com>
AuthorDate: Tue Nov 27 19:39:11 2018 -0800

    Fixed some incorrect CentOS RPM build settings.
    
    Updated 'mesos-init-wrapper' execute permission, and specified
    the master and agent work directories correctly.
    
    This closes #319
---
 support/packaging/centos/mesos.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/support/packaging/centos/mesos.spec b/support/packaging/centos/mesos.spec
index 59cb2d3..8e719ab 100644
--- a/support/packaging/centos/mesos.spec
+++ b/support/packaging/centos/mesos.spec
@@ -113,11 +113,11 @@ mkdir -p -m0755 %{buildroot}/%{_var}/log/%{name}
 mkdir -p -m0755 %{buildroot}/%{_var}/lib/%{name}
 
 echo zk://localhost:2181/mesos > %{buildroot}%{_sysconfdir}/mesos/zk
-echo %{_var}/log/%{name}       > %{buildroot}%{_sysconfdir}/mesos-master/work_dir
-echo %{_var}/log/%{name}       > %{buildroot}%{_sysconfdir}/mesos-slave/work_dir
+echo %{_var}/lib/%{name}       > %{buildroot}%{_sysconfdir}/mesos-master/work_dir
+echo %{_var}/lib/%{name}       > %{buildroot}%{_sysconfdir}/mesos-slave/work_dir
 echo 1                         > %{buildroot}%{_sysconfdir}/mesos-master/quorum
 
-install -m 0644 %{SOURCE1} %{buildroot}%{_bindir}/
+install -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/
 install -m 0644 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{buildroot}%{_sysconfdir}/default
 
 %if 0%{?el6}