]> granicus.if.org Git - pdns/commitdiff
Replace hardcoded paths with macros
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 27 Dec 2014 11:53:36 +0000 (12:53 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 27 Dec 2014 11:53:36 +0000 (12:53 +0100)
pdns/pdns-recursor.spec

index 028bc5e7b77e4f62d4829851d46d600485209337..a8cbee595cc27bc604a17dcaf07193e14ebd1357 100644 (file)
@@ -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