rpms/mdadm/F-11 mdadm-2.5.2-static.patch, 1.4, 1.5 mdadm.spec, 1.70, 1.71 raid-check, 1.2, 1.3 sources, 1.23, 1.24 mdadm-3.0-cast.patch, 1.2, NONE mdadm-3.0-foreign.patch, 1.2, NONE mdadm-3.0-incremental.patch, 1.1, NONE mdadm-3.0-mapfile.patch, 1.2, NONE

Doug Ledford dledford at fedoraproject.org
Mon Jun 29 19:25:49 UTC 2009


Author: dledford

Update of /cvs/extras/rpms/mdadm/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13914

Modified Files:
	mdadm-2.5.2-static.patch mdadm.spec raid-check sources 
Removed Files:
	mdadm-3.0-cast.patch mdadm-3.0-foreign.patch 
	mdadm-3.0-incremental.patch mdadm-3.0-mapfile.patch 
Log Message:
* Tue May 19 2009 Doug Ledford <dledford at redhat.com> - 3.0-0.devel3.7
- Only check raid devices on weekly scrubbing, don't attempt to repair them


mdadm-2.5.2-static.patch:

Index: mdadm-2.5.2-static.patch
===================================================================
RCS file: /cvs/extras/rpms/mdadm/F-11/mdadm-2.5.2-static.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- mdadm-2.5.2-static.patch	12 Feb 2009 15:10:22 -0000	1.4
+++ mdadm-2.5.2-static.patch	29 Jun 2009 19:25:48 -0000	1.5
@@ -20,5 +20,5 @@ Binary files mdadm-3.0-devel2/mdadm.stat
 -	$(INSTALL) -D $(STRIP) -m 755 mdadm.klibc $(DESTDIR)$(BINDIR)/mdadm
 +	$(INSTALL) -D $(STRIP) -m 755 mdadm.klibc $(DESTDIR)$(BINDIR)/mdadm.klibc
  
- install-man: mdadm.8 md.4 mdadm.conf.5
+ install-man: mdadm.8 md.4 mdadm.conf.5 mdmon.8
  	$(INSTALL) -D -m 644 mdadm.8 $(DESTDIR)$(MAN8DIR)/mdadm.8


Index: mdadm.spec
===================================================================
RCS file: /cvs/extras/rpms/mdadm/F-11/mdadm.spec,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -p -r1.70 -r1.71
--- mdadm.spec	19 May 2009 17:04:30 -0000	1.70
+++ mdadm.spec	29 Jun 2009 19:25:48 -0000	1.71
@@ -1,16 +1,12 @@
 Summary:     The mdadm program controls Linux md devices (software RAID arrays)
 Name:        mdadm
 Version:     3.0
-Release:     0.devel3.7%{?dist}
-Source:      http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}-devel3.tar.bz2
+Release:     1%{?dist}
+Source:      http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.bz2
 Source1:     mdmonitor.init
 Source2:     raid-check
 Source3:     mdadm.rules
 Patch1:      mdadm-2.5.2-static.patch
-Patch2:      mdadm-3.0-cast.patch
-Patch3:      mdadm-3.0-incremental.patch
-Patch4:      mdadm-3.0-mapfile.patch
-Patch5:      mdadm-3.0-foreign.patch
 URL:         http://www.kernel.org/pub/linux/utils/raid/mdadm/
 License:     GPLv2+
 Group:       System Environment/Base
@@ -30,12 +26,8 @@ almost all functions without a configura
 file can be used to help with some common tasks.
 
 %prep
-%setup -q -n mdadm-3.0-devel3
+%setup -q
 %patch1 -p1 -b .static
-%patch2 -p1 -b .cast
-%patch3 -p1 -b .incremental
-%patch4 -p1 -b .mapfile
-%patch5 -p1 -b .foreign
 
 %build
 make %{?_smp_mflags} CXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" SYSCONFDIR="%{_sysconfdir}" mdadm.static mdadm mdmon
@@ -87,6 +79,13 @@ fi
 %attr(0700,root,root) %dir /var/run/mdadm
 
 %changelog
+* Mon Jun 29 2009 Doug Ledford <dledford at redhat.com> - 3.0-1
+- Update to official mdadm-3.0
+- Remove dead patches
+- Fix raid-check script to only start a check action if the device supports
+  it
+- Resolves: bz505587
+
 * Tue May 19 2009 Doug Ledford <dledford at redhat.com> - 3.0-0.devel3.7
 - Only check raid devices on weekly scrubbing, don't attempt to repair them
 


Index: raid-check
===================================================================
RCS file: /cvs/extras/rpms/mdadm/F-11/raid-check,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- raid-check	19 May 2009 17:04:30 -0000	1.2
+++ raid-check	29 Jun 2009 19:25:48 -0000	1.3
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 for dev in `grep "^md.*: active" /proc/mdstat | cut -f 1 -d ' '`; do
-	echo "check" > /sys/block/$dev/md/sync_action
+	[ -f /sys/block/$dev/md/sync_action ] && \
+		echo "check" > /sys/block/$dev/md/sync_action
 done
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mdadm/F-11/sources,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- sources	18 Mar 2009 18:22:06 -0000	1.23
+++ sources	29 Jun 2009 19:25:48 -0000	1.24
@@ -1 +1 @@
-8cf5b1abb20b2bc33a2bd4b1afbae814  mdadm-3.0-devel3.tar.bz2
+bcd27a1359b18e25e61593221d098f6a  mdadm-3.0.tar.bz2


--- mdadm-3.0-cast.patch DELETED ---


--- mdadm-3.0-foreign.patch DELETED ---


--- mdadm-3.0-incremental.patch DELETED ---


--- mdadm-3.0-mapfile.patch DELETED ---




More information about the fedora-extras-commits mailing list