[tor/f18] Specify files more explicitly in %files

Jamie Nguyen jamielinux at fedoraproject.org
Mon Mar 4 23:14:47 UTC 2013


commit 88c65cd4349b6f064f1feafba4c83118fe857ffa
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Mon Mar 4 22:52:00 2013 +0000

    Specify files more explicitly in %files

 tor.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/tor.spec b/tor.spec
index 7599a96..89e9926 100644
--- a/tor.spec
+++ b/tor.spec
@@ -105,11 +105,15 @@ exit 0
 %{_bindir}/tor
 %{_bindir}/tor-gencert
 %{_bindir}/tor-resolve
-%{_datadir}/tor
-%{_unitdir}/%{name}.service
+%{_bindir}/torify
 %{_mandir}/man1/tor.1*
 %{_mandir}/man1/tor-gencert.1*
 %{_mandir}/man1/tor-resolve.1*
+%{_mandir}/man1/torify.1*
+%dir %{_datadir}/tor
+%{_datadir}/tor/defaults-torrc
+%{_datadir}/tor/geoip
+%{_unitdir}/%{name}.service
 %dir %{_sysconfdir}/tor
 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/tor/torrc
 %config(noreplace) %{_sysconfdir}/tor/tor-tsocks.conf
@@ -165,6 +169,10 @@ exit 0
     Log notice syslog
 - when starting the tor service, use the following options as recommended by
   upstream: --defaults-torrc /usr/share/tor/defaults-torrc -f /etc/tor/torrc
+- take a more cautious approach in the %%files section and specify filenames
+  more explicitly rather than using wildcards, which also makes it easier to
+  see the contents of the package
+
 
 
 


More information about the scm-commits mailing list