replace /etc references with %{_sysconfdir}