rpms/tor/devel tor.spec,1.18,1.19

Enrico Scholz (ensc) fedora-extras-commits at redhat.com
Wed Feb 13 11:22:36 UTC 2008


Author: ensc

Update of /cvs/extras/rpms/tor/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18612/devel

Modified Files:
	tor.spec 
Log Message:
- updated to 0.1.2.19
- use file based BR for latex
- improved 'status' method of initscript to return rc of 'pidofproc'
  instead of doing further manual tests.  Calling 'pidofproc' directly
  instead of within a subshell should workaround #432254 too.



Index: tor.spec
===================================================================
RCS file: /cvs/extras/rpms/tor/devel/tor.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- tor.spec	26 Jan 2008 12:24:22 -0000	1.18
+++ tor.spec	13 Feb 2008 11:21:58 -0000	1.19
@@ -10,8 +10,8 @@
 %{!?release_func:%global release_func() %1%{?dist}}
 
 Name:		tor
-Version:	0.1.2.18
-Release: %release_func 4
+Version:	0.1.2.19
+Release: %release_func 1
 Group:		System Environment/Daemons
 License:	BSD
 Summary:	Anonymizing overlay network for TCP (The onion router)
@@ -31,7 +31,9 @@
 Patch1:		tor-0.1.2.16-open.patch
 BuildRoot:	%_tmppath/%name-%version-%release-root
 
-BuildRequires:	libevent-devel openssl-devel transfig tex(latex) texlive-texmf-fonts ghostscript
+BuildRequires:	libevent-devel openssl-devel transfig ghostscript
+BuildRequires:	/usr/bin/latex
+BuildRequires:	texlive-texmf-fonts
 BuildRequires:	fedora-usermgmt-devel
 Provides:		user(%username)  = %uid
 Provides:		group(%username) = %uid
@@ -130,13 +132,11 @@
 /usr/lib/lsb/install_initd %_initrddir/tor
 
 %preun lsb
-test "$1" != 0 || {
-	%_initrddir/tor stop &>/dev/null || :
-	/usr/lib/lsb/remove_initd %_initrddir/tor
-}
+test "$1" != 0 || %_initrddir/tor stop &>/dev/null || :
+test "$1" != 0 || /usr/lib/lsb/remove_initd %_initrddir/tor
 
 %postun lsb
-test "$1"  = 0 || %_initrddir/tor try-restart &>/dev/null
+test "$1"  = 0 || env -i %_initrddir/tor try-restart &>/dev/null
 
 
 %clean
@@ -184,6 +184,13 @@
 
 
 %changelog
+* Tue Feb 12 2008 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.1.2.19-1
+- updated to 0.1.2.19
+- use file based BR for latex
+- improved 'status' method of initscript to return rc of 'pidofproc'
+  instead of doing further manual tests.  Calling 'pidofproc' directly
+  instead of within a subshell should workaround #432254 too.
+
 * Sat Jan 26 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.1.2.18-4
 - Update BuildRequires: tex(latex),
 - BR: texlive-texmf-fonts seems also to be necessary




More information about the fedora-extras-commits mailing list