SHA256
1
0
forked from pool/util-linux
OBS User unknown
2008-09-24 15:39:02 +00:00
committed by Git OBS Bridge
parent 5f36eb3e3c
commit bb14144eb8
3 changed files with 267 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ License: BSD 3-Clause; GPL v2 or later
Group: System/Base
AutoReqProv: on
Version: 2.14.1
Release: 1
Release: 2
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
@@ -71,6 +71,7 @@ Patch4: util-linux-2.13-hwclock_rtc_wait_busy_tempfix.patch
#
Patch5: util-linux-2.13.1-fdisk_cfdisk_yesno.patch
Patch7: util-linux-2.14-mount_retry_on_nomedium.patch
Patch8: util-linux-2.14.1-hypervisor_detection.patch
# crypto patch
Patch20: util-linux-mount_losetup_crypto.patch
##
@@ -114,6 +115,7 @@ Authors:
%patch4 -p1
%patch5 -p1
%patch7 -p1
%patch8 -p1
%patch20 -p1
cp %{SOURCE7} %{SOURCE8} .
#
@@ -183,7 +185,7 @@ CFLAGS=-DCONFIG_SMP
# architecture dependent builds
BUILD_ENABLE=
%ifarch %ix86 x86_64
BUILD_ENABLE="--enable-rdev"
BUILD_ENABLE="--enable-rdev --enable-hypervisor"
%endif
# Use autogen, when building from git tree
autoreconf -fi
@@ -534,10 +536,12 @@ fi
/sbin/sfdisk
%endif
%ifarch %ix86 x86_64
/bin/hypervisor
/usr/sbin/ramsize
/usr/sbin/rdev
/usr/sbin/rootflags
/usr/sbin/vidmode
%{_mandir}/man1/hypervisor.1.gz
%{_mandir}/man8/ramsize.8.gz
%{_mandir}/man8/rdev.8.gz
%{_mandir}/man8/rootflags.8.gz
@@ -579,6 +583,10 @@ fi
#%endif
%changelog
* Wed Sep 24 2008 mkoenig@suse.de
- add new tool /bin/hypervisor for x86, x86_64
from Ky Srinivasan <ksrinivasan@novell.com>
to detect the presence of a hypervisor [fate#303051]
* Wed Sep 10 2008 mkoenig@suse.de
- update to version 2.14.1
* fdisk: don't check for GPT when asked for disk size only