rpms/tor/F-7 tor.spec,1.15,1.16

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


Author: ensc

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

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/F-7/tor.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- tor.spec	30 Oct 2007 08:31:08 -0000	1.15
+++ tor.spec	13 Feb 2008 11:22:14 -0000	1.16
@@ -10,7 +10,7 @@
 %{!?release_func:%global release_func() %1%{?dist}}
 
 Name:		tor
-Version:	0.1.2.18
+Version:	0.1.2.19
 Release:	%release_func 1
 Group:		System Environment/Daemons
 License:	BSD
@@ -31,7 +31,8 @@
 Patch1:		tor-0.1.2.16-open.patch
 BuildRoot:	%_tmppath/%name-%version-%release-root
 
-BuildRequires:	libevent-devel openssl-devel transfig tetex-latex ghostscript
+BuildRequires:	libevent-devel openssl-devel transfig ghostscript
+BuildRequires:	/usr/bin/latex
 BuildRequires:	fedora-usermgmt-devel
 Provides:		user(%username)  = %uid
 Provides:		group(%username) = %uid
@@ -130,13 +131,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 +183,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.
+
 * Tue Oct 30 2007 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.1.2.18-1
 - updated to 0.1.2.18
 




More information about the fedora-extras-commits mailing list