rpms/bltk/F-11 bltk.spec,1.2,1.3

Matthew Garrett mjg59 at fedoraproject.org
Tue Feb 16 19:30:45 UTC 2010


Author: mjg59

Update of /cvs/pkgs/rpms/bltk/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28580

Modified Files:
	bltk.spec 
Log Message:
* Tue Feb 16 2010 Matthew Garrett <mjg at redhat.com> 1.0.8-3
- fixed #542688 - bltk will run any cmd as root



Index: bltk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bltk/F-11/bltk.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- bltk.spec	10 Apr 2009 13:20:48 -0000	1.2
+++ bltk.spec	16 Feb 2010 19:30:45 -0000	1.3
@@ -1,6 +1,6 @@
 Name:			bltk
 Version:	1.0.8
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	The BLTK measures notebook battery life under any workload
 
 Group:		Applications/System
@@ -13,6 +13,7 @@ Source3:  OODRAW_FILE_SAMPLE.odg
 Source4:  OOWRITER_FILE_SAMPLE.odt
 
 Patch0: bltk-1.0.8-all.patch
+Patch1: bltk-1.0.8-rm_sudo.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -37,6 +38,7 @@ The following workloads are currently im
 %setup -q -n %{name}
 
 %patch0 -p1 -b .all
+%patch1 -p1 -b .sudo
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS"
@@ -149,7 +151,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/bltk/bin/bltk_get_user_field
 %{_libdir}/bltk/bin/bltk_get_xdpyinfo
 
-%{_libdir}/bltk/bin/bltk_hd_state
 %{_libdir}/bltk/bin/bltk_install
 %{_libdir}/bltk/bin/bltk_func
 %{_libdir}/bltk/bin/bltk_plot
@@ -160,7 +161,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/bltk/bin/bltk_report_uncompress
 %{_libdir}/bltk/bin/bltk_save_sys_info
 %{_libdir}/bltk/bin/bltk_spy
-%attr(4755, root, root) %{_libdir}/bltk/bin/bltk_sudo
 %{_libdir}/bltk/bin/bltk_time
 %{_libdir}/bltk/bin/bltk_type_command
 %{_libdir}/bltk/bin/bltk_winid
@@ -194,6 +194,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/bltk/wl_reader/war_and_peace.html
 
 %changelog
+* Tue Feb 16 2010 Matthew Garrett <mjg at redhat.com> 1.0.8-3
+- fixed #542688 - bltk will run any cmd as root
+
 * Fri Apr 10 2009 Jiri Skala <jskala at redhat.com> 1.0.8-2
 - optimized bltk.conf - SOFFICE_PROG
 - fixed working dir in reports



More information about the scm-commits mailing list