packages: pm-utils/pm-utils.spec, pm-utils/bashism.patch (NEW) - sata_alpm ...
glen
glen at pld-linux.org
Sun Feb 20 16:19:35 CET 2011
Author: glen Date: Sun Feb 20 15:19:35 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- sata_alpm uses bash syntax, force bash
---- Files affected:
packages/pm-utils:
pm-utils.spec (1.20 -> 1.21) , bashism.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/pm-utils/pm-utils.spec
diff -u packages/pm-utils/pm-utils.spec:1.20 packages/pm-utils/pm-utils.spec:1.21
--- packages/pm-utils/pm-utils.spec:1.20 Sat Feb 12 21:29:42 2011
+++ packages/pm-utils/pm-utils.spec Sun Feb 20 16:19:29 2011
@@ -3,11 +3,12 @@
Summary(pl.UTF-8): Narzędzia i skrypty do zarządzania energią
Name: pm-utils
Version: 1.4.1
-Release: 1
+Release: 2
License: GPL v2
Group: Applications/System
Source0: http://pm-utils.freedesktop.org/releases/%{name}-%{version}.tar.gz
# Source0-md5: 1742a556089c36c3a89eb1b957da5a60
+Patch0: bashism.patch
URL: http://pm-utils.freedesktop.org/
BuildRequires: autoconf >= 2.52
BuildRequires: automake
@@ -27,6 +28,7 @@
%prep
%setup -q
+%patch0 -p1
%build
%{__aclocal}
@@ -93,6 +95,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2011/02/20 15:19:29 glen
+- sata_alpm uses bash syntax, force bash
+
Revision 1.20 2011/02/12 20:29:42 pluto
- package the /var/log/pm-powersave.log
================================================================
Index: packages/pm-utils/bashism.patch
diff -u /dev/null packages/pm-utils/bashism.patch:1.1
--- /dev/null Sun Feb 20 16:19:35 2011
+++ packages/pm-utils/bashism.patch Sun Feb 20 16:19:29 2011
@@ -0,0 +1,12 @@
+
+bash specific comparision:
+ [ "${kv%-*}" \< "2.6.33" ] && exit $NA # avoid fs corruption
+
+--- pm-utils-1.4.1/pm/power.d/sata_alpm~ 2010-07-04 17:50:13.000000000 +0300
++++ pm-utils-1.4.1/pm/power.d/sata_alpm 2011-02-20 17:13:52.958394776 +0200
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+
+ . "${PM_FUNCTIONS}"
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pm-utils/pm-utils.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list