asfgit closed pull request #319: Fixed incorrect RPM build settings. URL: https://github.com/apache/mesos/pull/319
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/support/packaging/centos/mesos.spec b/support/packaging/centos/mesos.spec index 59cb2d3e03..8e719ab419 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} ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services