[tuned/f17] Fixed typo in tuned-adm
Jaroslav Škarvada
jskarvad at fedoraproject.org
Thu Feb 14 10:26:15 UTC 2013
commit 600430c79dac525599538c51d30bdc8a5e5b2726
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date: Thu Feb 14 11:26:11 2013 +0100
Fixed typo in tuned-adm
Resolves: rhbz#901689
tuned-2.0.1-tuned-adm-typo-fix.patch | 12 ++++++++++++
tuned.spec | 8 +++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/tuned-2.0.1-tuned-adm-typo-fix.patch b/tuned-2.0.1-tuned-adm-typo-fix.patch
new file mode 100644
index 0000000..d686a28
--- /dev/null
+++ b/tuned-2.0.1-tuned-adm-typo-fix.patch
@@ -0,0 +1,12 @@
+diff -up tuned-2.0.1/tuned-adm.py.orig tuned-2.0.1/tuned-adm.py
+--- tuned-2.0.1/tuned-adm.py.orig 2013-02-14 10:19:01.000000000 +0100
++++ tuned-2.0.1/tuned-adm.py 2013-02-14 11:21:59.027502258 +0100
+@@ -118,7 +118,7 @@ class Tuned_adm:
+ self.error("Cannot read %s: %s" % (PIDFILE, str(e)))
+
+ if not profile in self.get_profiles():
+- self.error("Profile %s does''t exist." % profile)
++ self.error("Profile %s doesn't exist." % profile)
+
+ if pid:
+ try:
diff --git a/tuned.spec b/tuned.spec
index 4579aec..5958b51 100644
--- a/tuned.spec
+++ b/tuned.spec
@@ -1,7 +1,7 @@
Summary: A dynamic adaptive system tuning daemon
Name: tuned
Version: 2.0.1
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPLv2
# The source for this package was pulled from upstream git. Use the
# following commands to get the corresponding tarball:
@@ -16,6 +16,7 @@ Patch1: tuned-2.0.1-powertop2tuned-fix.patch
Patch2: tuned-2.0.1-cloexec.patch
# rhbz#907065
Patch3: tuned-2.0.1-tuned-adm-no-log.patch
+Patch4: tuned-2.0.1-tuned-adm-typo-fix.patch
URL: https://fedorahosted.org/tuned/
BuildArch: noarch
BuildRequires: python, systemd-units
@@ -56,6 +57,7 @@ It can be also used to fine tune your system for specific scenarios.
%patch1 -p1 -b .powertop2tuned-fix
%patch2 -p1 -b .cloexec
%patch3 -p1 -b .tuned-adm-no-log
+%patch4 -p1 -b .tuned-adm-typo-fix
%build
@@ -144,6 +146,10 @@ fi
%{_prefix}/lib/tuned/spindown-disk
%changelog
+* Thu Feb 14 2013 Jaroslav Škarvada <jskarvad at redhat.com> - 2.0.1-7
+- Fixed typo in tuned-adm
+ Resolves: rhbz#901689
+
* Tue Feb 5 2013 Jaroslav Škarvada <jskarvad at redhat.com> - 2.0.1-6
- Fixed error logging in tuned-adm
Resolves: rhbz#907065
More information about the scm-commits
mailing list