[powertop/f20] Fixed typo in tunables section

Jaroslav Škarvada jskarvad at fedoraproject.org
Mon Jun 23 10:11:12 UTC 2014


commit 0f134ea390944983bb886d4398ea5341e824a6f2
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date:   Mon Jun 23 12:11:09 2014 +0200

    Fixed typo in tunables section
    
      Resolves: rhbz#1111796

 powertop-2.5-tunable-typo-fix.patch |  156 +++++++++++++++++++++++++++++++++++
 powertop.spec                       |    8 ++-
 2 files changed, 163 insertions(+), 1 deletions(-)
---
diff --git a/powertop-2.5-tunable-typo-fix.patch b/powertop-2.5-tunable-typo-fix.patch
new file mode 100644
index 0000000..89d21b4
--- /dev/null
+++ b/powertop-2.5-tunable-typo-fix.patch
@@ -0,0 +1,156 @@
+diff --git a/po/ca.po b/po/ca.po
+index f03a90f..9688849 100644
+--- a/po/ca.po
++++ b/po/ca.po
+@@ -448,7 +448,7 @@ msgstr "Autosuspès per a dipositiu USB %s [%s]"
+ 
+ #: src/tuning/tuningsysfs.cpp:139
+ #, c-format
+-msgid "Enable SATA link power Managmenet for %s"
++msgid "Enable SATA link power Management for %s"
+ msgstr ""
+ 
+ #: src/calibrate/calibrate.cpp:236
+diff --git a/po/cs_CZ.po b/po/cs_CZ.po
+index be84d35..042e634 100644
+--- a/po/cs_CZ.po
++++ b/po/cs_CZ.po
+@@ -451,7 +451,7 @@ msgstr "Automatické uspání pro USB zařízení %s [%s]"
+ 
+ #: src/tuning/tuningsysfs.cpp:139
+ #, c-format
+-msgid "Enable SATA link power Managmenet for %s"
++msgid "Enable SATA link power Management for %s"
+ msgstr "Zapnout správu napájení SATA linku pro %s"
+ 
+ #: src/calibrate/calibrate.cpp:236
+diff --git a/po/de_DE.po b/po/de_DE.po
+index b9f96b3..9ef5a59 100644
+--- a/po/de_DE.po
++++ b/po/de_DE.po
+@@ -453,7 +453,7 @@ msgstr "AutoSuspend für USB-Gerät %s [%s]"
+ 
+ #: src/tuning/tuningsysfs.cpp:139
+ #, c-format
+-msgid "Enable SATA link power Managmenet for %s"
++msgid "Enable SATA link power Management for %s"
+ msgstr "Energieverwaltung für SATA-Verbindung %s aktivieren"
+ 
+ #: src/calibrate/calibrate.cpp:236
+diff --git a/po/en_GB.po b/po/en_GB.po
+index 208a1af..4fef267 100644
+--- a/po/en_GB.po
++++ b/po/en_GB.po
+@@ -447,7 +447,7 @@ msgstr ""
+ 
+ #: src/tuning/tuningsysfs.cpp:139
+ #, c-format
+-msgid "Enable SATA link power Managmenet for %s"
++msgid "Enable SATA link power Management for %s"
+ msgstr ""
+ 
+ #: src/calibrate/calibrate.cpp:236
+diff --git a/po/en_US.po b/po/en_US.po
+index c6c785f..fae743e 100644
+--- a/po/en_US.po
++++ b/po/en_US.po
+@@ -446,7 +446,7 @@ msgstr "Autosuspend for USB device %s [%s]"
+ 
+ #: src/tuning/tuningsysfs.cpp:139
+ #, c-format
+-msgid "Enable SATA link power Managmenet for %s"
++msgid "Enable SATA link power Management for %s"
+ msgstr ""
+ 
+ #: src/calibrate/calibrate.cpp:236
+diff --git a/po/es_ES.po b/po/es_ES.po
+index ea3754d..96a5f0d 100644
+--- a/po/es_ES.po
++++ b/po/es_ES.po
+@@ -450,7 +450,7 @@ msgstr "Autosuspender para dispositivo USB %s [%s]"
+ 
+ #: src/tuning/tuningsysfs.cpp:139
+ #, c-format
+-msgid "Enable SATA link power Managmenet for %s"
++msgid "Enable SATA link power Management for %s"
+ msgstr ""
+ 
+ #: src/calibrate/calibrate.cpp:236
+diff --git a/po/hu_HU.po b/po/hu_HU.po
+index 241d1ce..bfc1536 100644
+--- a/po/hu_HU.po
++++ b/po/hu_HU.po
+@@ -451,7 +451,7 @@ msgstr "Automatikus felfüggesztés a(z) %s [%s] USB eszközön"
+ 
+ #: src/tuning/tuningsysfs.cpp:139
+ #, c-format
+-msgid "Enable SATA link power Managmenet for %s"
++msgid "Enable SATA link power Management for %s"
+ msgstr "SATA link energiaszabályozás engedélyezése %s számára"
+ 
+ #: src/calibrate/calibrate.cpp:236
+diff --git a/po/id_ID.po b/po/id_ID.po
+index 80b8cd8..ca92f05 100644
+--- a/po/id_ID.po
++++ b/po/id_ID.po
+@@ -446,7 +446,7 @@ msgstr "Suspensi otomatis bagi perangkat USB %s [%s]"
+ 
+ #: src/tuning/tuningsysfs.cpp:139
+ #, c-format
+-msgid "Enable SATA link power Managmenet for %s"
++msgid "Enable SATA link power Management for %s"
+ msgstr "Fungsikan Manajemen daya link SATA bagi %s"
+ 
+ #: src/calibrate/calibrate.cpp:236
+diff --git a/po/nl_NL.po b/po/nl_NL.po
+index 1ee9a40..a0e078e 100644
+--- a/po/nl_NL.po
++++ b/po/nl_NL.po
+@@ -445,7 +445,7 @@ msgstr ""
+ 
+ #: src/tuning/tuningsysfs.cpp:139
+ #, c-format
+-msgid "Enable SATA link power Managmenet for %s"
++msgid "Enable SATA link power Management for %s"
+ msgstr ""
+ 
+ #: src/calibrate/calibrate.cpp:236
+diff --git a/po/powertop.pot b/po/powertop.pot
+index 842f2f3..e4a2ede 100644
+--- a/po/powertop.pot
++++ b/po/powertop.pot
+@@ -442,7 +442,7 @@ msgstr ""
+ 
+ #: src/tuning/tuningsysfs.cpp:139
+ #, c-format
+-msgid "Enable SATA link power Managmenet for %s"
++msgid "Enable SATA link power Management for %s"
+ msgstr ""
+ 
+ #: src/calibrate/calibrate.cpp:236
+diff --git a/po/zh_TW.po b/po/zh_TW.po
+index 802a64e..9cf5ef3 100644
+--- a/po/zh_TW.po
++++ b/po/zh_TW.po
+@@ -446,7 +446,7 @@ msgstr "自動閒置於 USB 設備 %s [%s]"
+ 
+ #: src/tuning/tuningsysfs.cpp:139
+ #, c-format
+-msgid "Enable SATA link power Managmenet for %s"
++msgid "Enable SATA link power Management for %s"
+ msgstr "啟用 %s 的 SATA 連線電源管理"
+ 
+ #: src/calibrate/calibrate.cpp:236
+diff --git a/src/tuning/tuningsysfs.cpp b/src/tuning/tuningsysfs.cpp
+index aa4ebd5..166f25d 100644
+--- a/src/tuning/tuningsysfs.cpp
++++ b/src/tuning/tuningsysfs.cpp
+@@ -140,7 +140,7 @@ void add_sata_tunables(void)
+ 
+ 		sprintf(filename, "/sys/class/scsi_host/%s/link_power_management_policy", entry->d_name);
+ 
+-	        sprintf(msg, _("Enable SATA link power Managmenet for %s"),entry->d_name);
++	        sprintf(msg, _("Enable SATA link power Management for %s"),entry->d_name);
+ 
+ 		add_sysfs_tunable(msg, filename,"min_power");
+ 
diff --git a/powertop.spec b/powertop.spec
index 7d21f24..002d1d9 100644
--- a/powertop.spec
+++ b/powertop.spec
@@ -1,6 +1,6 @@
 Name:           powertop
 Version:        2.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Power consumption monitor
 
 Group:          Applications/System
@@ -15,6 +15,7 @@ Patch1:         powertop-2.3-man-fix.patch
 # Sent upstream (http://github.com/fenrus75/powertop/pull/12)
 Patch2:         powertop-2.3-ondemand-check.patch
 Patch3:         powertop-2.5-tunable-overflow-fix.patch
+Patch4:         powertop-2.5-tunable-typo-fix.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  gettext, ncurses-devel, pciutils-devel, zlib-devel, libnl3-devel
 Requires(post): coreutils
@@ -29,6 +30,7 @@ computer use more power than necessary while it is idle.
 %patch1 -p1 -b .man-fix
 %patch2 -p1 -b .ondemand-check
 %patch3 -p1 -b .tunable-overfow-fix
+%patch4 -p1 -b .tunable-typo-fix
 
 # remove left over object files
 find . -name "*.o" -exec rm {} \;
@@ -61,6 +63,10 @@ rm -rf %{buildroot}
 %{_mandir}/man8/powertop.8*
 
 %changelog
+* Mon Jun 23 2014 Jaroslav Škarvada <jskarvad at redhat.com> - 2.5-3
+- Fixed typo in tunables section
+  Resolves: rhbz#1111796
+
 * Tue Mar 25 2014 Jaroslav Škarvada <jskarvad at redhat.com> - 2.5-2
 - Fixed buffer overflow in cpufreq tunables on systems with many CPUs
   (by tunable-overflow-fix patch)


More information about the scm-commits mailing list