[dmidecode] * Mon Nov 08 2010 Prarit Bhargava <prarit at redhat.com> - 1:2.1.0-3 - updated kernel.spec for review [

Prarit Bhargava prarit at fedoraproject.org
Wed Nov 10 15:56:33 UTC 2010


commit d83d739b4b4885115e335908f9832cfea8945ef5
Author: Prarit Bhargava <prarit at redhat.com>
Date:   Wed Nov 10 10:50:28 2010 -0500

    * Mon Nov 08 2010 Prarit Bhargava <prarit at redhat.com> - 1:2.1.0-3
    - updated kernel.spec for review [BZ 225698]

 dmidecode.spec |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/dmidecode.spec b/dmidecode.spec
index 5cb74bf..68e66d2 100644
--- a/dmidecode.spec
+++ b/dmidecode.spec
@@ -5,7 +5,7 @@ Release:        2%{?dist}
 Epoch:          1
 Group:          System Environment/Base
 License:        GPLv2+
-Source0:        dmidecode-%{version}.tar.bz2
+Source0:        %{name}-%{version}.tar.bz2
 Patch0:         dmidecode-add-hewlett-packard-to-dmioem.patch
 Patch1:         dmidecode-recognize-more-memory.patch
 Patch2:         dmidecode-add-socket-lga1366.patch
@@ -14,7 +14,7 @@ Patch4:         dmidecode-smbios-2.6.1-updates.patch
 Patch5:         dmidecode-makefile-fix.patch
 URL:            http://www.nongnu.org/dmidecode/
 Buildroot:      %{_tmppath}/%{name}-%{version}-root
-BuildRequires:  /usr/bin/aclocal /usr/bin/automake /usr/bin/autoconf
+BuildRequires:  automake autoconf
 ExclusiveArch:  %{ix86} x86_64 ia64
 
 %description
@@ -38,14 +38,14 @@ I/O ports (e.g. serial, parallel, USB).
 %patch5 -p1
 
 %build
-make CFLAGS="$RPM_OPT_FLAGS"
+make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man
+rm -rf ${buildroot}
+make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf ${buildroot}
 
 %files
 %defattr(-,root,root)
@@ -59,6 +59,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/*
 
 %changelog
+* Mon Nov 08 2010 Prarit Bhargava <prarit at redhat.com> - 1:2.1.0-3
+- updated kernel.spec for review [BZ 225698]
+
 * Fri Oct 15 2010 Anton Arapov <aarapov at redhat.com> - 1:2.1.0-2
 - Does not build with gnu make v3.82+ (#631407)
 


More information about the scm-commits mailing list