From d0f71ea19ff4977dd6dad53ee185298c2ea1836d Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Thu, 16 Jul 2015 14:04:06 +0200 Subject: [PATCH] Rename root.anchor to root.key in %post section Signed-off-by: Tomas Hozza --- unbound.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unbound.spec b/unbound.spec index b2c6bd3..fbb53b4 100644 --- a/unbound.spec +++ b/unbound.spec @@ -299,7 +299,7 @@ useradd -r -g unbound -d %{_sysconfdir}/unbound -s /sbin/nologin \ %post libs /sbin/ldconfig -%{_sbindir}/runuser --command="%{_sbindir}/unbound-anchor -a %{_sharedstatedir}/unbound/root.anchor -c %{_sysconfdir}/unbound/icannbundle.pem" --shell /bin/sh unbound ||: +%{_sbindir}/runuser --command="%{_sbindir}/unbound-anchor -a %{_sharedstatedir}/unbound/root.key -c %{_sysconfdir}/unbound/icannbundle.pem" --shell /bin/sh unbound ||: %systemd_post unbound-anchor.timer # start the timer only if installing the package to prevent starting it, if it was stopped on purpose if [ "$1" -eq 1 ]; then @@ -432,6 +432,7 @@ popd %changelog * Thu Jul 16 2015 Tomas Hozza - 1.5.4-2 - Start unbound-anchor.timer only on new installations +- Rename root.anchor to root.key in %post section * Tue Jul 14 2015 Paul Wouters - 1.5.4-1 - Update to 1.5.4