1
0

Accepting request 83170 from hardware

- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build (forwarded request 83129 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/83170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coreboot-utils?expand=0&rev=11
This commit is contained in:
Lars Vogdt 2011-09-19 19:06:53 +00:00 committed by Git OBS Bridge
commit 4de3c5c5b0
2 changed files with 14 additions and 16 deletions

View File

@ -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 Thu Dec 9 22:11:02 CET 2010 - stepan@coresystems.de

View File

@ -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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: coreboot-utils Name: coreboot-utils
@ -40,10 +39,6 @@ coreboot utilities are a comprehensive set of tools to work with coreboot.
Currently it includes: Currently it includes:
* nvramtool - a tool to set CMOS variables * nvramtool - a tool to set CMOS variables
Authors:
--------
Stefan Reinauer <stepan@coresystems.de> et al.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
@ -52,7 +47,7 @@ Authors:
%build %build
cd nvramtool cd nvramtool
make %{?jobs:-j%jobs} \ make %{?_smp_mflags} \
CFLAGS="$RPM_OPT_FLAGS -Os -Wall" \ CFLAGS="$RPM_OPT_FLAGS -Os -Wall" \
LDFLAGS="-lpci -lz" LDFLAGS="-lpci -lz"
strip nvramtool strip nvramtool
@ -66,29 +61,29 @@ strip inteltool
gzip inteltool.8 gzip inteltool.8
cd ../superiotool cd ../superiotool
make %{?jobs:-j%jobs} \ make %{?_smp_mflags} \
CFLAGS="$RPM_OPT_FLAGS -Os -Wall -DPCI_SUPPORT" \ CFLAGS="$RPM_OPT_FLAGS -Os -Wall -DPCI_SUPPORT" \
LDFLAGS="-lpci -lz" LDFLAGS="-lpci -lz"
strip superiotool strip superiotool
gzip superiotool.8 gzip superiotool.8
cd ../ectool cd ../ectool
make %{?jobs:-j%jobs} \ make %{?_smp_mflags} \
CFLAGS="$RPM_OPT_FLAGS -Os -Wall" \ CFLAGS="$RPM_OPT_FLAGS -Os -Wall" \
LDFLAGS="-lpci -lz" LDFLAGS="-lpci -lz"
strip ectool strip ectool
cd ../msrtool cd ../msrtool
CFLAGS="$RPM_OPT_FLAGS" ./configure CFLAGS="$RPM_OPT_FLAGS" ./configure
make %{?jobs:-j%jobs} make %{?_smp_mflags}
strip msrtool strip msrtool
cd ../k8resdump cd ../k8resdump
make %{?jobs:-j%jobs} make %{?_smp_mflags}
strip k8resdump strip k8resdump
cd ../cbfstool cd ../cbfstool
make %{?jobs:-j%jobs} \ make %{?_smp_mflags} \
CFLAGS="$RPM_OPT_FLAGS -Os -Wall" \ CFLAGS="$RPM_OPT_FLAGS -Os -Wall" \
CXXFLAGS="$RPM_OPT_FLAGS -Os -Wall -DCOMPACT" CXXFLAGS="$RPM_OPT_FLAGS -Os -Wall -DCOMPACT"
@ -140,9 +135,6 @@ cd ../cbfstool
install -m 0755 cbfstool $RPM_BUILD_ROOT/%{_bindir} install -m 0755 cbfstool $RPM_BUILD_ROOT/%{_bindir}
cp EXAMPLE EXAMPLE.cbfstool cp EXAMPLE EXAMPLE.cbfstool
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc nvramtool/COPYING %doc nvramtool/COPYING