From 318ccbb878d538b4773cda5ac19df01ba06eaf03 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Thu, 21 Oct 2004 10:43:11 +0000 Subject: [PATCH] Add ppc --- numactl.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/numactl.spec b/numactl.spec index b7ac3d3..180c501 100644 --- a/numactl.spec +++ b/numactl.spec @@ -8,9 +8,10 @@ URL: ftp://ftp.suse.com/pub/people/ak/numa/ Source0: ftp://ftp.suse.com/pub/people/ak/numa/numactl-%{version}.tar.gz Buildroot: %{_tmppath}/%{name}-buildroot -ExcludeArch: ppc64 s390 s390x ppc +ExcludeArch: ppc64 s390 s390x Patch1: numactl-lib.patch +Patch2: numactl-0.6.4-ppc.patch %description Simple NUMA policy support. It consists of a numactl program to run @@ -25,6 +26,8 @@ allocations with NUMA policy in applications. # %patch1 +# Support ppc +%patch2 %build cd numactl-%{version} @@ -40,7 +43,7 @@ mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8 cd numactl-%{version} -make prefix=$RPM_BUILD_ROOT/usr install +make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install %clean rm -rf $RPM_BUILD_ROOT @@ -61,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir} %changelog +* Thu Oct 21 2004 David Woodhouse +- Add PPC support + * Tue Jun 15 2004 Elliot Lee - rebuilt