diff --git a/rabbitmq-server.changes b/rabbitmq-server.changes index f5d2c18..424fe4e 100644 --- a/rabbitmq-server.changes +++ b/rabbitmq-server.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 23 13:53:44 UTC 2017 - rbrown@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + ------------------------------------------------------------------- Thu Nov 16 16:09:24 UTC 2017 - dmueller@suse.com diff --git a/rabbitmq-server.spec b/rabbitmq-server.spec index fa3600b..5c8202e 100644 --- a/rabbitmq-server.spec +++ b/rabbitmq-server.spec @@ -16,6 +16,11 @@ # +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + %bcond_without split_plugins %define _rabbit_erllibdir %{_libdir}/rabbitmq/lib/rabbitmq_server-%{version} @@ -126,8 +131,8 @@ install -p -D -m 0644 %{SOURCE7} %{buildroot}/usr/lib/tmpfiles.d/rabbitmq-server # Install init scripts install -p -D -m 0755 %{SOURCE1} %{buildroot}%{_initddir}/rabbitmq-server ln -sf %{_initddir}/rabbitmq-server %{buildroot}%{_sbindir}/rcrabbitmq-server -mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates/ -install -p -D -m 644 %{SOURCE5} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.rabbitmq-server +mkdir -p %{buildroot}%{_fillupdir}/ +install -p -D -m 644 %{SOURCE5} %{buildroot}%{_fillupdir}/sysconfig.rabbitmq-server %endif # Install wrapper scripts