aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/config/Makefile.am4
-rw-r--r--tor.spec.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/config/Makefile.am b/src/config/Makefile.am
index 21fba91774..30748eed81 100644
--- a/src/config/Makefile.am
+++ b/src/config/Makefile.am
@@ -1,10 +1,12 @@
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 ef73745a30..89c8f7ab0d 100644
--- a/tor.spec.in
+++ b/tor.spec.in
@@ -287,6 +287,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}/