From a21fcb3edb193a5be19fff7a66fb136b0aba360f Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 27 Dec 2014 12:53:36 +0100 Subject: [PATCH] Replace hardcoded paths with macros --- pdns/pdns-recursor.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 -- 2.47.2