Hello community,

here is the log from the commit of package laptop-mode-tools for openSUSE:12.2 
checked in at 2012-07-30 09:13:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2/laptop-mode-tools (Old)
 and      /work/SRC/openSUSE:12.2/.laptop-mode-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "laptop-mode-tools", Maintainer is "hma...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:12.2/laptop-mode-tools/laptop-mode-tools.changes 
2012-06-25 15:38:22.000000000 +0200
+++ /work/SRC/openSUSE:12.2/.laptop-mode-tools.new/laptop-mode-tools.changes    
2012-07-30 09:15:43.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jul 25 09:17:26 UTC 2012 - rmila...@suse.com
+
+- Local variables can only be used in a function. 
+  add: laptop-mode-1.60-local-can-only-be-used-in-a-function.patch
+
+-------------------------------------------------------------------

New:
----
  laptop-mode-1.60-local-can-only-be-used-in-a-function.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ laptop-mode-tools.spec ++++++
--- /var/tmp/diff_new_pack.iWhBQr/_old  2012-07-30 09:15:44.000000000 +0200
+++ /var/tmp/diff_new_pack.iWhBQr/_new  2012-07-30 09:15:44.000000000 +0200
@@ -34,6 +34,7 @@
 Patch4:         laptop-mode-1.49-new-dirty-ratio-defaults.diff
 Patch5:         laptop-mode-1.53-fix-pm-utils-sleep-script.diff
 Patch6:         laptop-mode-1.53-moblin-enable-intel-hda-powersave.patch
+Patch7:         laptop-mode-1.60-local-can-only-be-used-in-a-function.patch
 BuildArch:      noarch
 BuildRequires:  pm-utils
 
@@ -59,6 +60,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 cp %{S:2} .
 
 %build

++++++ laptop-mode-1.60-local-can-only-be-used-in-a-function.patch ++++++
Index: laptop-mode-tools_1.60/etc/rules/lmt-udev
===================================================================
--- laptop-mode-tools_1.60.orig/etc/rules/lmt-udev
+++ laptop-mode-tools_1.60/etc/rules/lmt-udev
@@ -7,11 +7,11 @@
                wait_for_file /usr/sbin/laptop_mode
                exec /usr/sbin/laptop_mode "$@"
        else
-               local file=$1
-               local timeout=$2
+               file=$1
+               timeout=$2
                [ "$timeout" ] || timeout=120
 
-               local count=$timeout
+               count=$timeout
                while [ $count != 0 ]; do
                        [ -e "/usr/sbin/laptop_mode" ] && exec 
/usr/sbin/laptop_mode "$@" && return 0
                        sleep 1
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to