summaryrefslogtreecommitdiff
path: root/packaging
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
commitc89cb89c2e2207206170c5f77cd1ca6f10394fd4 (patch)
treec8116e129806bc6812fc892e214c9e6f0f32c34f /packaging
parentb1a008cb247114d70d79160ace6239fe5d3332ba (diff)
downloadrabbitmq-server-c89cb89c2e2207206170c5f77cd1ca6f10394fd4.tar.gz
Document the fake DOC_INSTALL_DIR in the rpm spec; additional config and documentation
Diffstat (limited to 'packaging')
-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 63538210..b1819cfd 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