[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r14778: Fix the rpm build: we need to list all our files in the file (in tor/trunk: . src/config)
Author: nickm
Date: 2008-05-28 13:15:52 -0400 (Wed, 28 May 2008)
New Revision: 14778
Modified:
tor/trunk/src/config/Makefile.am
tor/trunk/tor.spec.in
Log:
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/
Modified: tor/trunk/src/config/Makefile.am
===================================================================
--- tor/trunk/src/config/Makefile.am 2008-05-28 16:48:40 UTC (rev 14777)
+++ tor/trunk/src/config/Makefile.am 2008-05-28 17:15:52 UTC (rev 14778)
@@ -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:
Modified: tor/trunk/tor.spec.in
===================================================================
--- tor/trunk/tor.spec.in 2008-05-28 16:48:40 UTC (rev 14777)
+++ tor/trunk/tor.spec.in 2008-05-28 17:15:52 UTC (rev 14778)
@@ -287,6 +287,8 @@
%{_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}/