-fix build on ppc64

This commit is contained in:
Peter Jones 2006-03-09 00:01:27 +00:00
parent 596e0e619a
commit 0df8b72494

View File

@ -1,7 +1,7 @@
Summary: mdadm controls Linux md devices (software RAID arrays)
Name: mdadm
Version: 2.3.1
Release: 2
Release: 3
Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tgz
Source1: mdmonitor.init
Source2: mdmpd-0.4.tgz
@ -13,6 +13,7 @@ Patch3: mdadm-1.9.0-static-make.patch
Patch4: mdadm-1.11.0-default-auto.patch
Patch5: mdadm-2.2-nodiet.patch
Patch6: mdadm-2.3.1-cflags.patch
Patch7: mdadm-2.3.1-fswab64.patch
URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
License: GPL
Group: System Environment/Base
@ -35,6 +36,7 @@ file can be used to help with some common tasks.
%patch4 -p1 -b .auto
%patch5 -p1 -b .nodiet
%patch6 -p1 -b .cflags
%patch7 -p1 -b .fswab64
%build
make CXFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}" mdadm mdadm.static mdassemble.static
@ -85,6 +87,9 @@ fi
%attr(0700,root,root) %dir /var/run/mdadm
%changelog
* Wed Mar 8 2006 Peter Jones <pjones@redhat.com> - 2.3.1-3
- fix build on ppc64
* Wed Mar 8 2006 Jeremy Katz <katzj@redhat.com> - 2.3.1-2
- fix build on ppc