]> git.pld-linux.org Git - packages/apmd.git/commitdiff
- spinlock patch [ppc only?]
authorspeedy <speedy@pld-linux.org>
Sun, 23 Jun 2002 10:49:00 +0000 (10:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apmd.spec -> 1.35

apmd.spec

index f8e99dc7838743d88b8079d4417591c17085b621..b1e13ea3dc41cfb163c4d3bc251d7321ba92f628 100644 (file)
--- a/apmd.spec
+++ b/apmd.spec
@@ -26,13 +26,14 @@ Group:              Applications/System
 Source0:       http://www.worldvisions.ca/~apenwarr/apmd/%{name}-%{version}.tar.gz
 Source1:       %{name}.init
 Patch0:                %{name}-security.patch
+Patch1:                %{name}-spinlock.patch
 URL:           http://www.worldvisions.ca/~apenwarr/apmd/
 BuildRequires: XFree86-devel
 Prereq:                /sbin/chkconfig
 Obsoletes:     acpid
 Requires:      procps
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-ExclusiveArch: %{ix86}
+ExclusiveArch: %{ix86} ppc
 
 %description
 Advanced Power Management daemon and utilities allows you to watch
@@ -201,6 +202,10 @@ XFree86.
 %setup -q -n apmd
 %patch0 -p1
 
+%ifarch ppc
+%patch1 -p1 
+%endif 
+
 %build
 %{__make} CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" APMD_PROXY_DIR=%{_sbindir}
 %{__make} -C xbattery clean
This page took 0.082245 seconds and 4 git commands to generate.