Summary: mdadm is used for controlling Linux md devices (aka RAID arrays)
Name: mdadm
-Version: 0.8.1
+Version: 3.2.3
Release: 1
-Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz
-URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
+Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tgz
+URL: http://neil.brown.name/blog/mdadm
License: GPL
Group: Utilities/System
BuildRoot: %{_tmppath}/%{name}-root
%prep
%setup -q
+# we want to install in /sbin, not /usr/sbin...
+%define _exec_prefix %{nil}
%build
# This is a debatable issue. The author of this RPM spec file feels that
# people who install RPMs (especially given that the default RPM options
# will strip the binary) are not going to be running gdb against the
# program.
-make CFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}"
+make CXFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}"
%install
make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} BINDIR=%{_sbindir} install
%defattr(-,root,root)
%doc TODO ChangeLog mdadm.conf-example COPYING
%{_sbindir}/mdadm
+%{_sbindir}/mdmon
+/lib/udev/rules.d/64-md-raid.rules
%config(noreplace,missingok)/%{_sysconfdir}/mdadm.conf
%{_mandir}/man*/md*
%changelog
+* Fri May 10 2002 <neilb@cse.unsw.edu.au>
+- update to 1.0.0
+- Set CXFLAGS instead of CFLAGS
+
* Sat Apr 6 2002 <neilb@cse.unsw.edu.au>
-- change %install to use "make install"
+- change install to use "make install"
* Fri Mar 15 2002 <gleblanc@localhost.localdomain>
- beautification