diff options
-rw-r--r-- | src/config/Makefile.am | 3 | ||||
-rw-r--r-- | tor.spec.in | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/config/Makefile.am b/src/config/Makefile.am index 21fba91774..5345b9f1ea 100644 --- a/src/config/Makefile.am +++ b/src/config/Makefile.am @@ -1,10 +1,11 @@ confdir = $(sysconfdir)/tor +tordatadir = $(datadir)/tor EXTRA_DIST = fallback-consensus geoip conf_DATA = torrc.sample -data_DATA = fallback-consensus geoip +tordata_DATA = fallback-consensus geoip # If we don't have it, fake it. fallback-consensus: diff --git a/tor.spec.in b/tor.spec.in index 6036de5ed5..6c72ecc98e 100644 --- a/tor.spec.in +++ b/tor.spec.in @@ -289,6 +289,8 @@ exit 0 %{_bindir}/torify %{_bindir}/tor-resolve %{_bindir}/tor-gencert +%{_datadir}/tor/fallback-consensus +%{_datadir}/tor/geoip %config %{_initrddir}/%{name} %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/logrotate.d/%{name} %dir %attr(0755,root,%{torgroup}) %{_sysconfdir}/%{name}/ |