Added workload option to the man page

This commit is contained in:
Jaroslav Škarvada 2013-06-25 16:09:22 +02:00
parent c8fc02556a
commit 15dbabf16e
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff -up powertop-2.3/doc/powertop.8.orig powertop-2.3/doc/powertop.8
--- powertop-2.3/doc/powertop.8.orig 2013-01-31 22:39:27.000000000 +0100
+++ powertop-2.3/doc/powertop.8 2013-06-25 15:51:49.000000000 +0200
@@ -46,6 +46,9 @@ sent to others to help diagnose power is
\fB\-\-iteration[\fR=\fIiterations\fR]
number of times to run each test.
.TP
+\fB\-\-workload[\fR=\fIworkload\fR]
+file to execute for workload.
+.TP
\fB\-\-quiet
supress stderr output.
.TP

View File

@ -1,6 +1,6 @@
Name: powertop
Version: 2.3
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Power consumption monitor
Group: Applications/System
@ -10,6 +10,8 @@ Source0: http://01.org/powertop/sites/default/files/downloads/%{name}-%{v
# Sent upstream
Patch0: powertop-2.3-always-create-params.patch
# Sent upstream (http://github.com/fenrus75/powertop/pull/11)
Patch1: powertop-2.3-man-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext, ncurses-devel, pciutils-devel, zlib-devel, libnl3-devel
@ -22,6 +24,7 @@ computer use more power than necessary while it is idle.
%prep
%setup -q
%patch0 -p1 -b .always-create-params
%patch1 -p1 -b .man-fix
# remove left over object files
find . -name "*.o" -exec rm {} \;
@ -54,6 +57,9 @@ rm -rf %{buildroot}
%{_mandir}/man8/powertop.8*
%changelog
* Tue Jun 25 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3-3
- Added workload option to the man page
* Wed Apr 10 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3-2
- Added post requirements for coreutils