SPECS: firestarter.spec - use gksudo in /usr/bin/firestarter inste...

wrobell wrobell at pld-linux.org
Wed Jun 21 20:48:00 CEST 2006


Author: wrobell                      Date: Wed Jun 21 18:48:00 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use gksudo in /usr/bin/firestarter instead of gnomesu
- last desktop change which introduced gksudo reverted

---- Files affected:
SPECS:
   firestarter.spec (1.46 -> 1.47) 

---- Diffs:

================================================================
Index: SPECS/firestarter.spec
diff -u SPECS/firestarter.spec:1.46 SPECS/firestarter.spec:1.47
--- SPECS/firestarter.spec:1.46	Wed Jun 21 20:13:52 2006
+++ SPECS/firestarter.spec	Wed Jun 21 20:47:54 2006
@@ -25,7 +25,6 @@
 BuildRequires:	sed >= 4.0
 Requires(post,preun):	/sbin/chkconfig
 Requires:	iptables
-Requires:	gksu
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -95,8 +94,8 @@
 mv $RPM_BUILD_ROOT%{_bindir}/firestarter $RPM_BUILD_ROOT%{_sbindir}
 
 echo -e "#!/bin/sh
-if [ -x %{_bindir}/gnomesu ] ; then
-	gnomesu %{_sbindir}/firestarter
+if [ -x %{_bindir}/gksudo ] ; then
+	gksudo -g %{_sbindir}/firestarter
 elif [ -x %{_bindir}/kdesu ] ; then
 	kdesu %{_sbindir}/firestarter
 else
@@ -160,6 +159,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.47  2006/06/21 18:47:54  wrobell
+- use gksudo in /usr/bin/firestarter instead of gnomesu
+- last desktop change which introduced gksudo reverted
+
 Revision 1.46  2006/06/21 18:13:52  wrobell
 - requires gksu due to changed desktop file
 - rel. 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/firestarter.spec?r1=1.46&r2=1.47&f=u



More information about the pld-cvs-commit mailing list