This commit is contained in:
David Woodhouse 2004-10-21 10:43:11 +00:00
parent f72e87eab5
commit 318ccbb878
1 changed files with 8 additions and 2 deletions

View File

@ -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 <dwmw2@redhat.com>
- Add PPC support
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt