summaryrefslogtreecommitdiff
path: root/packaging/RPMS
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2013-09-27 16:51:15 +0100
committerTim Watson <tim@rabbitmq.com>2013-09-27 16:51:15 +0100
commit5f97630f24b0eb8c15b9ef18a063ad17967b2fdb (patch)
treec8116e129806bc6812fc892e214c9e6f0f32c34f /packaging/RPMS
parent59923ac4903635a1f5ee473e698dbf493fd6e8ed (diff)
downloadrabbitmq-server-git-5f97630f24b0eb8c15b9ef18a063ad17967b2fdb.tar.gz
Document the fake DOC_INSTALL_DIR in the rpm spec; additional config and documentation
Diffstat (limited to 'packaging/RPMS')
-rw-r--r--packaging/RPMS/Fedora/rabbitmq-server.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/RPMS/Fedora/rabbitmq-server.spec b/packaging/RPMS/Fedora/rabbitmq-server.spec
index 63538210a7..b1819cfd40 100644
--- a/packaging/RPMS/Fedora/rabbitmq-server.spec
+++ b/packaging/RPMS/Fedora/rabbitmq-server.spec
@@ -46,10 +46,12 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
+# Note that we pass /tmp to DOC_INSTALL_DIR here because we're using %doc
+# to actually install rabbitmq.config.example, so this is just a fake/temp path
make install TARGET_DIR=%{_maindir} \
SBIN_DIR=%{buildroot}%{_rabbit_libdir}/bin \
MAN_DIR=%{buildroot}%{_mandir} \
- DOC_INSTALL_DIR=/tmp/
+ DOC_INSTALL_DIR=/tmp
mkdir -p %{buildroot}%{_localstatedir}/lib/rabbitmq/mnesia
mkdir -p %{buildroot}%{_localstatedir}/log/rabbitmq