diff --git a/coreboot-utils.changes b/coreboot-utils.changes index ac7adbf..f156b25 100644 --- a/coreboot-utils.changes +++ b/coreboot-utils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Sep 17 23:52:47 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile +- Use %_smp_mflags for parallel build + ------------------------------------------------------------------- Thu Dec 9 22:11:02 CET 2010 - stepan@coresystems.de diff --git a/coreboot-utils.spec b/coreboot-utils.spec index ed26623..99c7faf 100644 --- a/coreboot-utils.spec +++ b/coreboot-utils.spec @@ -1,7 +1,7 @@ # -# spec file for package coreboot-utils (Version r6158) +# spec file for package coreboot-utils # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: coreboot-utils @@ -40,10 +39,6 @@ coreboot utilities are a comprehensive set of tools to work with coreboot. Currently it includes: * nvramtool - a tool to set CMOS variables -Authors: --------- - Stefan Reinauer et al. - %prep %setup -q %patch0 -p1 @@ -52,7 +47,7 @@ Authors: %build cd nvramtool -make %{?jobs:-j%jobs} \ +make %{?_smp_mflags} \ CFLAGS="$RPM_OPT_FLAGS -Os -Wall" \ LDFLAGS="-lpci -lz" strip nvramtool @@ -66,29 +61,29 @@ strip inteltool gzip inteltool.8 cd ../superiotool -make %{?jobs:-j%jobs} \ +make %{?_smp_mflags} \ CFLAGS="$RPM_OPT_FLAGS -Os -Wall -DPCI_SUPPORT" \ LDFLAGS="-lpci -lz" strip superiotool gzip superiotool.8 cd ../ectool -make %{?jobs:-j%jobs} \ +make %{?_smp_mflags} \ CFLAGS="$RPM_OPT_FLAGS -Os -Wall" \ LDFLAGS="-lpci -lz" strip ectool cd ../msrtool CFLAGS="$RPM_OPT_FLAGS" ./configure -make %{?jobs:-j%jobs} +make %{?_smp_mflags} strip msrtool cd ../k8resdump -make %{?jobs:-j%jobs} +make %{?_smp_mflags} strip k8resdump cd ../cbfstool -make %{?jobs:-j%jobs} \ +make %{?_smp_mflags} \ CFLAGS="$RPM_OPT_FLAGS -Os -Wall" \ CXXFLAGS="$RPM_OPT_FLAGS -Os -Wall -DCOMPACT" @@ -140,9 +135,6 @@ cd ../cbfstool install -m 0755 cbfstool $RPM_BUILD_ROOT/%{_bindir} cp EXAMPLE EXAMPLE.cbfstool -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root) %doc nvramtool/COPYING