You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ti...@apache.org on 2018/09/17 08:32:24 UTC

[mesos] branch master updated: Added rapidjson to RPM spec file.

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

tillt 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 d34ded8  Added rapidjson to RPM spec file.
d34ded8 is described below

commit d34ded8b8d8d1a1b5e4fcda3dd596ede0d1ff037
Author: Jie Yu <yu...@gmail.com>
AuthorDate: Mon Sep 17 10:32:07 2018 +0200

    Added rapidjson to RPM spec file.
    
    We didn't update the RPM spec file when we added the rapidjson
    dependencies. This will cause RPM build to fail like the following:
    
    RPM build errors:
    error: Installed (but unpackaged) file(s) found:
       /usr/include/rapidjson/allocators.h
       /usr/include/rapidjson/document.h
       ...
    
    This patch fixed it by adding the rapidjson headers to the %files
    section accordingly.
    
    Review: https://reviews.apache.org/r/68728/
---
 support/packaging/centos/mesos.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/support/packaging/centos/mesos.spec b/support/packaging/centos/mesos.spec
index 0532985..bd69406 100644
--- a/support/packaging/centos/mesos.spec
+++ b/support/packaging/centos/mesos.spec
@@ -161,10 +161,11 @@ install -m 0644 src/java/target/mesos-*.jar %{buildroot}%{_datadir}/java/
 ######################
 %files devel
 %doc LICENSE NOTICE
+%{_includedir}/elfio/
 %{_includedir}/mesos/
 %{_includedir}/stout/
 %{_includedir}/process/
-%{_includedir}/elfio/
+%{_includedir}/rapidjson/
 %{_includedir}/picojson.h
 %{_libdir}/pkgconfig/%{name}.pc
 %{_libdir}/*.la