Bladeren bron

Fix the rpm build: we need to list all our files in the files section. Also, put fallback-consensus and geoip file in /usr/share/tor/, not in /usr/share/

svn:r14778
Nick Mathewson 16 jaren geleden
bovenliggende
commit
dd715016dd
2 gewijzigde bestanden met toevoegingen van 5 en 1 verwijderingen
  1. 3 1
      src/config/Makefile.am
  2. 2 0
      tor.spec.in

+ 3 - 1
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:

+ 2 - 0
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}/