- fix build on ppc

This commit is contained in:
Jeremy Katz 2006-03-08 23:23:52 +00:00
parent ef319bb169
commit 596e0e619a

View File

@ -1,7 +1,7 @@
Summary: mdadm controls Linux md devices (software RAID arrays)
Name: mdadm
Version: 2.3.1
Release: 1
Release: 2
Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tgz
Source1: mdmonitor.init
Source2: mdmpd-0.4.tgz
@ -12,6 +12,7 @@ Patch2: mdadm-1.9.0-s390-build.patch
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
URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
License: GPL
Group: System Environment/Base
@ -33,6 +34,7 @@ file can be used to help with some common tasks.
%patch3 -p1 -b .static
%patch4 -p1 -b .auto
%patch5 -p1 -b .nodiet
%patch6 -p1 -b .cflags
%build
make CXFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}" mdadm mdadm.static mdassemble.static
@ -83,6 +85,9 @@ fi
%attr(0700,root,root) %dir /var/run/mdadm
%changelog
* Wed Mar 8 2006 Jeremy Katz <katzj@redhat.com> - 2.3.1-2
- fix build on ppc
* Wed Mar 8 2006 Jeremy Katz <katzj@redhat.com> - 2.3.1-1
- update to 2.3.1 to fix raid5 (#184284)