- More cleanups for merge review process
- Related: bz226134
This commit is contained in:
parent
0317f8f78a
commit
6dfb5a75f7
38
mdadm.spec
38
mdadm.spec
@ -1,40 +1,38 @@
|
|||||||
Summary: mdadm controls Linux md devices (software RAID arrays)
|
Summary: The mdadm program controls Linux md devices (software RAID arrays)
|
||||||
Name: mdadm
|
Name: mdadm
|
||||||
Version: 2.6.1
|
Version: 2.6.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz
|
Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz
|
||||||
Source1: mdmonitor.init
|
Source1: mdmonitor.init
|
||||||
Patch1: mdadm-1.5.0-email.patch
|
Patch1: mdadm-2.5.2-s390-build.patch
|
||||||
Patch2: mdadm-2.5.2-s390-build.patch
|
Patch2: mdadm-2.5.2-static.patch
|
||||||
Patch3: mdadm-2.5.2-static.patch
|
Patch3: mdadm-2.2-nodiet.patch
|
||||||
Patch4: mdadm-2.2-nodiet.patch
|
Patch4: mdadm-2.5.2-cflags.patch
|
||||||
Patch5: mdadm-2.5.2-cflags.patch
|
Patch5: mdadm-2.6.1-build.patch
|
||||||
Patch6: mdadm-2.6.1-build.patch
|
|
||||||
URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
|
URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Obsoletes: mdctl,raidtools
|
Obsoletes: mdctl,raidtools
|
||||||
Requires: smtpdaemon
|
Requires: /usr/sbin/sendmail
|
||||||
Requires(post): /sbin/service, /sbin/chkconfig
|
Requires(post): /sbin/service, /sbin/chkconfig
|
||||||
Requires(preun): /sbin/service, /sbin/chkconfig
|
Requires(preun): /sbin/service, /sbin/chkconfig
|
||||||
Requires(postun): /sbin/service
|
Requires(postun): /sbin/service
|
||||||
|
|
||||||
%description
|
%description
|
||||||
mdadm is used to create, manage, and monitor Linux MD (software RAID)
|
The mdadm program is used to create, manage, and monitor Linux MD (software
|
||||||
devices. As such, it provides similar functionality to the raidtools
|
RAID) devices. As such, it provides similar functionality to the raidtools
|
||||||
package. However, mdadm is a single program, and it can perform
|
package. However, mdadm is a single program, and it can perform
|
||||||
almost all functions without a configuration file, though a configuration
|
almost all functions without a configuration file, though a configuration
|
||||||
file can be used to help with some common tasks.
|
file can be used to help with some common tasks.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1 -b .email
|
%patch1 -p1 -b .s390
|
||||||
%patch2 -p1 -b .s390
|
%patch2 -p1 -b .static
|
||||||
%patch3 -p1 -b .static
|
%patch3 -p1 -b .nodiet
|
||||||
%patch4 -p1 -b .nodiet
|
%patch4 -p1 -b .cflags
|
||||||
%patch5 -p1 -b .cflags
|
%patch5 -p1 -b .build
|
||||||
%patch6 -p1 -b .build
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} CXFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}" MDASSEMBLE_AUTO=1 mdassemble.static mdassemble mdadm.static mdadm
|
make %{?_smp_mflags} CXFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}" MDASSEMBLE_AUTO=1 mdassemble.static mdassemble mdadm.static mdadm
|
||||||
@ -74,7 +72,7 @@ if [ "$1" -ge "1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc TODO ChangeLog mdadm.conf-example COPYING misc/*
|
%doc TODO ChangeLog mdadm.conf-example COPYING misc/*
|
||||||
/sbin/*
|
/sbin/*
|
||||||
%{_initrddir}/*
|
%{_initrddir}/*
|
||||||
@ -82,6 +80,10 @@ fi
|
|||||||
%attr(0700,root,root) %dir /var/run/mdadm
|
%attr(0700,root,root) %dir /var/run/mdadm
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 16 2007 Doug Ledford <dledford@redhat.com> - 2.6.1-4
|
||||||
|
- More cleanups for merge review process
|
||||||
|
- Related: bz226134
|
||||||
|
|
||||||
* Wed Apr 11 2007 Doug Ledford <dledford@redhat.com> - 2.6.1-3
|
* Wed Apr 11 2007 Doug Ledford <dledford@redhat.com> - 2.6.1-3
|
||||||
- Various cleanups as part of merge review process
|
- Various cleanups as part of merge review process
|
||||||
- Related: bz226134
|
- Related: bz226134
|
||||||
|
Loading…
Reference in New Issue
Block a user