rpms/smolt/devel 0001-Don-t-print-information-about-the-pager-when-using.patch, NONE, 1.1 smolt.spec, 1.77, 1.78

Mike McGrath mmcgrath at fedoraproject.org
Tue Oct 13 17:58:46 UTC 2009


Author: mmcgrath

Update of /cvs/pkgs/rpms/smolt/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19292

Modified Files:
	smolt.spec 
Added Files:
	0001-Don-t-print-information-about-the-pager-when-using.patch 
Log Message:
removing useless info about the pager

0001-Don-t-print-information-about-the-pager-when-using.patch:
 sendProfile.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE 0001-Don-t-print-information-about-the-pager-when-using.patch ---
>From bbcac174a9392c3b3ed3facd3a5e79b754469759 Mon Sep 17 00:00:00 2001
From: Mike McGrath <mmcgrath at redhat.com>
Date: Tue, 13 Oct 2009 12:57:27 -0500
Subject: [PATCH] Don't print information about the pager when using -p

---
 client/sendProfile.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/client/sendProfile.py b/client/sendProfile.py
index dcf60a3..80f2c37 100644
--- a/client/sendProfile.py
+++ b/client/sendProfile.py
@@ -165,7 +165,8 @@ if opts.scanOnly:
 if not opts.autoSend:
     if opts.printOnly:
         for line in profile.getProfile():
-            print line
+            if not line.startswith('#'):
+                print line
         sys.exit(0)
 
     def inner_indent(text):
-- 
1.6.2.5



Index: smolt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/smolt/devel/smolt.spec,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -p -r1.77 -r1.78
--- smolt.spec	13 Oct 2009 17:47:58 -0000	1.77
+++ smolt.spec	13 Oct 2009 17:58:46 -0000	1.78
@@ -2,7 +2,7 @@ Name: smolt
 
 Summary: Fedora hardware profiler
 Version: 1.4
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 Group: Applications/Internet
 URL: http://fedorahosted.org/smolt
@@ -10,6 +10,7 @@ Source: https://fedorahosted.org/release
 Patch0: 0001-Client-Hopefully-fix-encoding-trouble.patch
 Patch1: 0001-rhpl.iconv-is-not-required-anymore-by-firstboot.patch
 Patch2: 0002-fixes-the-p-option.patch
+Patch3: 0001-Don-t-print-information-about-the-pager-when-using.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires: dbus-python, python-urlgrabber, gawk, python-paste
@@ -74,6 +75,7 @@ ensure that deps are kept small.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 cd client/
@@ -213,7 +215,7 @@ touch --no-create %{_datadir}/icons/hico
 %{_bindir}/smoltGui
 
 %changelog
-* Tue Oct 13 2009 Mike McGrath <mmcgrath at redhat.com> 1.4-3
+* Tue Oct 13 2009 Mike McGrath <mmcgrath at redhat.com> 1.4-4
 - Fixing firstboot for F-12
 
 * Mon Sep 21 2009 Mike McGrath <mmcgrath at redhat.com> 1.4-2




More information about the fedora-extras-commits mailing list