- install a config file by default
OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-server?expand=0&rev=32
This commit is contained in:
parent
5be8a13939
commit
b61ebec595
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 23 12:29:39 UTC 2014 - dmueller@suse.com
|
||||
|
||||
- install a config file by default
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 21 13:03:33 UTC 2014 - dmueller@suse.com
|
||||
|
||||
|
@ -137,6 +137,9 @@ install -p -D -m 0755 %{_rabbit_wrapper} %{buildroot}%{_sbindir}/rabbitmq-server
|
||||
install -p -D -m 0755 %{_rabbit_wrapper} %{buildroot}%{_sbindir}/rabbitmq-plugins
|
||||
install -p -D -m 0755 %{_rabbit_server_ocf} %{buildroot}%{_exec_prefix}/lib/ocf/resource.d/rabbitmq/rabbitmq-server
|
||||
|
||||
# install config files
|
||||
install -p -D -m 0644 docs/rabbitmq.config.example %{buildroot}/%{_sysconfdir}/rabbitmq/rabbitmq.config
|
||||
|
||||
# Copy all necessary lib files etc.
|
||||
install -p -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/rabbitmq-server
|
||||
|
||||
@ -166,7 +169,7 @@ echo '%defattr(-,root,root, -)' >> %{_builddir}/filelist.%{name}.rpm
|
||||
| sed -e 's/^\.//' >> %{_builddir}/filelist.%{name}.rpm)
|
||||
|
||||
# Create hardlinks for duplicate files
|
||||
%fdupes %{buildroot}
|
||||
%fdupes %{buildroot}/usr/share
|
||||
|
||||
%pre
|
||||
getent group rabbitmq >/dev/null || groupadd -r rabbitmq
|
||||
@ -218,6 +221,7 @@ systemd-tmpfiles --create --clean /usr/lib/tmpfiles.d/rabbitmq-server.conf
|
||||
%dir /usr/lib/ocf/resource.d
|
||||
%dir /usr/lib/ocf/resource.d/rabbitmq
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/rabbitmq-server
|
||||
%config(noreplace) %{_sysconfdir}/rabbitmq/rabbitmq.config
|
||||
%doc LICENSE* README
|
||||
%dir %{_rabbit_erllibdir}/plugins
|
||||
%exclude %{_rabbit_erllibdir}/plugins/*
|
||||
|
Loading…
Reference in New Issue
Block a user