rpms/tor/devel tor.spec,1.36,1.37

ensc ensc at fedoraproject.org
Sat Sep 12 10:58:13 UTC 2009


Author: ensc

Update of /cvs/extras/rpms/tor/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10432

Modified Files:
	tor.spec 
Log Message:
workaround bug in redhat-lsb (#522053)



Index: tor.spec
===================================================================
RCS file: /cvs/extras/rpms/tor/devel/tor.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -p -r1.36 -r1.37
--- tor.spec	21 Aug 2009 16:12:23 -0000	1.36
+++ tor.spec	12 Sep 2009 10:58:13 -0000	1.37
@@ -13,7 +13,7 @@
 
 Name:		tor
 Version:	0.2.1.19
-Release:	%release_func 1
+Release:	%release_func 2
 Group:		System Environment/Daemons
 License:	BSD
 Summary:	Anonymizing overlay network for TCP (The onion router)
@@ -66,7 +66,7 @@ Source20:		%name.upstart
 Provides:		init(%name) = upstart
 Requires:		%name = %version-%release
 # implicates a conflict with upstart 0.5+
-Requires(pre):		/etc/event.d	
+Requires(pre):		/etc/event.d
 Requires(post):		/usr/bin/killall
 Requires(postun):	/sbin/initctl
 %{?noarch}
@@ -162,7 +162,14 @@ ln -s %_datadir/tor/geoip $RPM_BUILD_ROO
 
 
 %post lsb
-/usr/lib/lsb/install_initd %_initrddir/tor
+/usr/lib/lsb/install_initd %_initrddir/tor || {
+	cat <<EOF >&2
+oouch... redhat-lsb is still broken. See the report
+https://bugzilla.redhat.com/show_bug.cgi?id=522053
+for details.
+EOF
+	/sbin/chkconfig --add tor
+}
 
 %preun lsb
 test "$1" != 0 || %_initrddir/tor stop &>/dev/null || :
@@ -234,6 +241,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Sep 12 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.2.1.19-2
+- workaround bug in redhat-lsb (#522053)
+
 * Fri Aug 21 2009 Tomas Mraz <tmraz at redhat.com> - 0.2.1.19-1
 - rebuilt with new openssl
 




More information about the scm-commits mailing list