Accepting request 80182 from Base:System

- update to util-linux-2.20 
- build with --enable-ddate
- add util-linux-sfdisk-manpage-fix.patch

OBS-URL: https://build.opensuse.org/request/show/80182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=128
This commit is contained in:
Marcus Rückert 2011-08-30 14:05:19 +00:00 committed by Git OBS Bridge
parent 164325bae6
commit 91e68c5ae1
5 changed files with 42 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bcdbb6413ef6a83c44e7e79db41cbd8ea7f0990781c12591e4e2339582c4397c
size 4510886

3
util-linux-2.20.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c1cffbf5a1a7a32965f2e8e9ce76336310031e10b87c418d0679075724271d4c
size 4615091

View File

@ -0,0 +1,24 @@
From 398e8b40dbca3a5f172485d4701554c2a08e04d6 Mon Sep 17 00:00:00 2001
From: Petr Uzel <petr.uzel@suse.cz>
Date: Tue, 30 Aug 2011 10:16:19 +0200
Subject: [PATCH] sfdisk.8: fix formatting
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
---
fdisk/sfdisk.8 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Index: util-linux-2.20/fdisk/sfdisk.8
===================================================================
--- util-linux-2.20.orig/fdisk/sfdisk.8
+++ util-linux-2.20/fdisk/sfdisk.8
@@ -237,7 +237,7 @@ For example:
.fi
first reports that /dev/hdb5 has Id 6, and then changes that into 83.
.TP
-.BR \-u ", " \-\-unit " \fI\letter\fR"
+.BR \-u ", " \-\-unit " \fIletter\fR"
Interpret the input and show the output in the units specified by
.IR letter .
This \fIletter\fR can be one of S, C, B or M, meaning Sectors, Cylinders,

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Aug 29 14:57:57 UTC 2011 - puzel@suse.com
- update to util-linux-2.20
- cleanups, bugfixes
- build with --enable-ddate
- add util-linux-sfdisk-manpage-fix.patch
-------------------------------------------------------------------
Thu Aug 25 14:12:15 UTC 2011 - rguenther@novell.com

View File

@ -19,7 +19,6 @@
%define time_ver 1.7
%define which_ver 2.20
%define adjtimex_ver 1.28
%define util_linux_tar_ver 2.20-rc2
Name: util-linux
BuildRequires: audit-devel
@ -31,14 +30,14 @@ BuildRequires: pam-devel
BuildRequires: pkg-config
BuildRequires: readline-devel
BuildRequires: zlib-devel
Version: 2.20
Release: 2
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
# that into the core build cycle. pwdutils also pulls in the whole
# ldap stack into it. Avoid this whole mess which is done only to
# make the rpm install check of uuidd happy which has support to work without
# these tools as well
#!BuildIgnore: pwdutils
Version: 2.19.91
Release: 6
Url: http://kernel.org/~kzak/util-linux/
Supplements: filesystem(minix)
Provides: fsck-with-dev-lock = %{version}
@ -50,7 +49,7 @@ Group: System/Base
AutoReqProv: on
Recommends: %{name}-lang = %{version}
Summary: A collection of basic system utilities
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v20/%{name}-%{util_linux_tar_ver}.tar.bz2
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v20/%{name}-%{version}.tar.bz2
Source1: util-linux-rpmlintrc
# XXX: make nologin part of login package
Source2: nologin.c
@ -87,6 +86,7 @@ Source51: blkid.conf
Patch1: util-linux-2.12r-fdisk_remove_bogus_warnings.patch
# crypto patch
Patch2: util-linux-2.17.1-mount_losetup_crypto.patch
Patch3: util-linux-sfdisk-manpage-fix.patch
##
## adjtimex
@ -185,9 +185,10 @@ Files to develop applications using the libmount library.
%lang_package
%prep
%setup -q -a 9 -b 11 -b 12 -b 13 -n %{name}-%{util_linux_tar_ver}
%setup -q -a 9 -b 11 -b 12 -b 13
%patch1 -p1
%patch2 -p1
%patch3 -p1
#
cd adjtimex-*
@ -262,6 +263,7 @@ CFLAGS="%{optflags}" \
--enable-write \
--enable-line \
--enable-libmount-mount \
--enable-ddate \
--disable-mountpoint \
--disable-use-tty-group \
--disable-static \