[olpc-powerd/f14] fix build

Peter Robinson pbrobinson at fedoraproject.org
Tue Nov 29 21:37:30 UTC 2011


commit 93b5f7166ff1a770a56722e1f1d1f40ffec4d177
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue Nov 29 21:37:19 2011 +0000

    fix build

 olpc-powerd.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/olpc-powerd.spec b/olpc-powerd.spec
index 7b2edd1..4871f33 100644
--- a/olpc-powerd.spec
+++ b/olpc-powerd.spec
@@ -1,4 +1,4 @@
-%define tag gitcca2c9c
+%define tag gita107bac
 
 Summary: OLPC XO power management
 Name: olpc-powerd
@@ -11,6 +11,7 @@ URL: http://dev.laptop.org/git/users/pgf/powerd/tree/powerd
 # Source0: the source tarball is created by "make tarball" from within
 # a clone of this git tree: git://dev.laptop.org/users/pgf/powerd
 Source0: %{name}-%{version}-%{tag}.tar.gz
+Patch0: olpc-powerd-Makefile.patch
 
 BuildRequires: kernel-headers, NetworkManager-glib-devel
 Requires: olpc-kbdshim, upstart, ethtool, evtest
@@ -40,6 +41,7 @@ over the D-Bus system bus.
 
 %prep
 %setup -q
+%patch0 -p1 -b .make
 
 %build
 export OPT_FLAGS="$RPM_OPT_FLAGS"


More information about the scm-commits mailing list