From: Ruben Kerkhof Date: Sat, 27 Dec 2014 11:53:36 +0000 (+0100) Subject: Replace hardcoded paths with macros X-Git-Tag: rec-3.7.0-rc1~67^2~23^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a21fcb3edb193a5be19fff7a66fb136b0aba360f;p=thirdparty%2Fpdns.git Replace hardcoded paths with macros --- diff --git a/pdns/pdns-recursor.spec b/pdns/pdns-recursor.spec index 028bc5e7b7..a8cbee595c 100644 --- a/pdns/pdns-recursor.spec +++ b/pdns/pdns-recursor.spec @@ -32,13 +32,13 @@ This RPM is semi-statically compiled and should work on all Linux distributions. %files %defattr(-,root,root) -/usr/sbin/pdns_recursor -/usr/bin/rec_control -/etc/init.d/pdns-recursor -/usr/share/man/man1/pdns_recursor.1.gz -/usr/share/man/man1/rec_control.1.gz -%dir /etc/powerdns/ -%config /etc/powerdns/recursor.conf-dist +%{_sbindir}/pdns_recursor +%{_bindir}/rec_control +%{_sysconfdir}/init.d/pdns-recursor +%{_mandir}/man1/pdns_recursor.1.gz +%{_mandir}/man1/rec_control.1.gz +%dir %{_sysconfdir}/powerdns/ +%config %{_sysconfdir}/powerdns/recursor.conf-dist %post echo Remember to create a 'pdns' user before starting pdns