[mdadm] Restore the build command in the spec file to a normal one

Doug Ledford dledford at fedoraproject.org
Mon Mar 28 16:25:12 UTC 2011


commit a1a27cff98d71e7c4de24af8bae2038aa0412962
Author: Doug Ledford <dledford at redhat.com>
Date:   Mon Mar 28 12:24:56 2011 -0400

    Restore the build command in the spec file to a normal one
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>

 mdadm.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/mdadm.spec b/mdadm.spec
index 6ceffa1..65cd627 100644
--- a/mdadm.spec
+++ b/mdadm.spec
@@ -1,7 +1,7 @@
 Summary:     The mdadm program controls Linux md devices (software RAID arrays)
 Name:        mdadm
 Version:     3.2.1
-Release:     1%{?dist}
+Release:     2%{?dist}
 Source:      http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.bz2
 Source1:     mdmonitor.init
 Source2:     raid-check
@@ -35,8 +35,7 @@ file can be used to help with some common tasks.
 %patch20 -p1 -b .static
 
 %build
-#make %{?_smp_mflags} CXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" SYSCONFDIR="%{_sysconfdir}" mdadm mdmon
-make -j30 CXFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}" mdadm mdmon
+make %{?_smp_mflags} CXFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}" mdadm mdmon
 
 %install
 rm -rf %{buildroot}
@@ -81,6 +80,9 @@ fi
 %ghost %attr(0700,root,root) %dir /var/run/mdadm
 
 %changelog
+* Mon Mar 28 2011 Doug Ledford <dledford at redhat.com> - 3.2.1-2
+- Restore build command to sane command instead of test command
+
 * Mon Mar 28 2011 Doug Ledford <dledford at redhat.com> - 3.2.1-1
 - Update to latest upstream version
 - Resolves: 691353


More information about the scm-commits mailing list