1
0
forked from pool/util-linux

Accepting request 25715 from Base:System

Copy from Base:System/util-linux based on submit request 25715 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/25715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=84
This commit is contained in:
OBS User autobuild 2009-12-08 11:52:51 +00:00 committed by Git OBS Bridge
commit c7a30422e4
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Dec 6 15:07:33 CET 2009 - jengelh@medozas.de
- enabled parallel build
-------------------------------------------------------------------
Mon Nov 30 17:05:38 CET 2009 - meissner@suse.de

View File

@ -29,7 +29,7 @@ License: BSD3c(or similar) ; GPLv2+
Group: System/Base
AutoReqProv: on
Version: 2.16
Release: 7
Release: 8
Requires: %name-lang = %{version}
Summary: A collection of basic system utilities
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-ng-%version.tar.bz2
@ -174,12 +174,12 @@ cd ../which-*
# adjtimex build
cd adjtimex-%{adjtimex_ver}
CFLAGS="$RPM_OPT_FLAGS" ./configure
make
make %{?jobs:-j%jobs}
cd ..
pushd ../
# freeramdisk build
cd freeramdisk
make CFLAGS="$RPM_OPT_FLAGS" freeramdisk
make %{?jobs:-j%jobs} CFLAGS="$RPM_OPT_FLAGS" freeramdisk
cd ..
# which build
cd which-%{which_ver}
@ -192,7 +192,7 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
%{_target_cpu}-suse-linux
make
make %{?jobs:-j%jobs}
cd ..
# time build
cd time-%{time_ver}
@ -202,16 +202,16 @@ CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE " INSTALL_PROGRAM='$(INSTALL)' \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
%{_target_cpu}-suse-linux
make
make %{?jobs:-j%jobs}
cd ..
# klogconsole build
cd klogconsole
make CFLAGS="$RPM_OPT_FLAGS"
make %{?jobs:-j%jobs} CFLAGS="$RPM_OPT_FLAGS"
cd ..
popd
# setctsid build
rm -f setctsid
make setctsid CFLAGS="$RPM_OPT_FLAGS"
make %{?jobs:-j%jobs} setctsid CFLAGS="$RPM_OPT_FLAGS"
#
# util-linux itself
#
@ -241,7 +241,7 @@ autoreconf -fi
--disable-static \
$BUILD_ENABLE \
CFLAGS="$CFLAGS $RPM_OPT_FLAGS"
make
make %{?jobs:-j%jobs}
gcc $RPM_OPT_FLAGS -o nologin nologin.c
gcc $RPM_OPT_FLAGS -o mkzimage_cmdline %{S:29}
gcc $RPM_OPT_FLAGS -o chrp-addnote %{SOURCE31}