]> git.pld-linux.org Git - packages/pm-utils.git/commitdiff
- sata_alpm uses bash syntax, force bash auto/th/pm-utils-1_4_1-2
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 20 Feb 2011 15:19:29 +0000 (15:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bashism.patch -> 1.1
    pm-utils.spec -> 1.21

bashism.patch [new file with mode: 0644]
pm-utils.spec

diff --git a/bashism.patch b/bashism.patch
new file mode 100644 (file)
index 0000000..3386a3a
--- /dev/null
@@ -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}"
index 454a51f0c46fb16b0ea803434c481f1f15bc5bbd..659f067538e558141dff22e850d9f6a83b0dfecf 100644 (file)
@@ -2,11 +2,12 @@ Summary:      Power management utilities and scripts
 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
@@ -26,6 +27,7 @@ związanych z zarządzaniem energią.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__aclocal}
This page took 0.061581 seconds and 4 git commands to generate.