summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert@lshift.net>2008-11-27 14:29:38 +0000
committerHubert Plociniczak <hubert@lshift.net>2008-11-27 14:29:38 +0000
commitcbd2d386537756e136a89a5b0293a4355866e542 (patch)
treec3aa484962008b892966cc11412e1e51cb36b990
parent38c37d60552b688e3df3ebe95099985b92c96168 (diff)
downloadrabbitmq-server-cbd2d386537756e136a89a5b0293a4355866e542.tar.gz
Moved license files and documentation to appropriate directorybug19743
-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 433eb7ca..23ebecef 100644
--- a/packaging/RPMS/Fedora/rabbitmq-server.spec
+++ b/packaging/RPMS/Fedora/rabbitmq-server.spec
@@ -33,7 +33,6 @@ scalable implementation of an AMQP broker.
%define _maindir %{buildroot}%{_erllibdir}/rabbitmq_server-%{version}
-
%pre
if [ $1 -gt 1 ]; then
#Upgrade - stop and remove previous instance of rabbitmq-server init.d script
@@ -71,6 +70,8 @@ cp %{buildroot}%{_mandir}/man1/rabbitmqctl.1.gz %{buildroot}%{_mandir}/man1/rabb
mkdir -p %{buildroot}/etc/logrotate.d
install %SOURCE3 %{buildroot}/etc/logrotate.d/rabbitmq-server
+rm %{_maindir}/LICENSE %{_maindir}/LICENSE-MPL-RabbitMQ %{_maindir}/INSTALL
+
%post
# create rabbitmq group
if ! getent group rabbitmq >/dev/null; then
@@ -114,6 +115,7 @@ fi
/var/log/rabbitmq/
/etc/rc.d/init.d/rabbitmq-server
%config(noreplace) /etc/logrotate.d/rabbitmq-server
+%doc LICENSE LICENSE-MPL-RabbitMQ INSTALL
%clean
rm -rf %{buildroot}