forked from pool/util-linux
This commit is contained in:
committed by
Git OBS Bridge
parent
491a0c112c
commit
8f64c5834f
415
util-linux.spec
415
util-linux.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package util-linux (Version 2.12r)
|
||||
# spec file for package util-linux (Version 2.12r+git20070330)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@@ -11,7 +11,7 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: util-linux
|
||||
BuildRequires: libvolume_id-devel ncurses-devel pam-devel zlib-devel
|
||||
BuildRequires: gettext-devel libvolume_id-devel ncurses-devel pam-devel zlib-devel
|
||||
URL: http://kernel.org/pub/linux/utils/util-linux
|
||||
Provides: util rawio raw base schedutils
|
||||
Supplements: filesystem(minix)
|
||||
@@ -20,15 +20,15 @@ PreReq: %install_info_prereq permissions
|
||||
License: BSD License and BSD-like, GNU General Public License (GPL)
|
||||
Group: System/Base
|
||||
Autoreqprov: on
|
||||
Version: 2.12r
|
||||
Release: 87
|
||||
Version: 2.12r+git20070330
|
||||
Release: 1
|
||||
Summary: A collection of basic system utilities
|
||||
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-%version.tar.bz2
|
||||
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-ng-%version.tar.bz2
|
||||
Source2: nologin.c
|
||||
Source3: nologin.8
|
||||
Source4: raw.init
|
||||
Source5: etc.raw
|
||||
Source8: guessfstype.8
|
||||
Source6: etc_filesystems
|
||||
%define time_ver 1.7
|
||||
%define which_ver 2.13
|
||||
%define adjtimex_ver 1.20
|
||||
@@ -38,9 +38,6 @@ Source11: klogconsole.tar.bz2
|
||||
Source12: which-%{which_ver}.tar.gz
|
||||
Source13: time-%{time_ver}.tar.gz
|
||||
Source15: cryptoloop.txt
|
||||
Source16: schedutils-1.4.0.tar.bz2
|
||||
Source20: README.loop-AES-v2.2d
|
||||
Source21: README.loop-AES-v2.2d.SuSE
|
||||
Source22: setctsid.c
|
||||
Source23: setctsid.8
|
||||
Source24: sm-notify-20060111.tar.bz2
|
||||
@@ -50,70 +47,100 @@ Source27: renice.8
|
||||
Source28: mkzimage_cmdline.8
|
||||
Source29: mkzimage_cmdline.c
|
||||
Source30: README.largedisk
|
||||
Patch: util-linux-%version.diff
|
||||
Patch2: loop-AES-v3.0a-util-linux-2.12p.diff
|
||||
Patch3: util-linux-2.12-multipleraw.diff
|
||||
Patch7: util-linux-2.12-hostid.diff
|
||||
Patch8: util-linux-wall.dif
|
||||
Patch10: util-linux-2.12-mount_guessfstype.diff
|
||||
Patch11: guessfstype2.patch
|
||||
Patch15: util-linux-nfs.8.diff
|
||||
Patch23: util-linux-2.12h-mtablock.diff
|
||||
Patch25: util-linux-2.11u-nfs-mount_acl.diff
|
||||
Patch26: mount.8-acl.diff
|
||||
Patch27: klogconsole-quiet.patch
|
||||
Patch32: klogconsole.diff
|
||||
Patch40: time-1.7.dif
|
||||
Patch43: util-linux-2.11z-hwclock_geteuid.diff
|
||||
Patch44: adjtimex-1.20-nosyscall.diff
|
||||
Patch45: mount-nfs-nonreserved
|
||||
Patch46: util-linux-2.12-nfs-tcp.diff
|
||||
Patch51: util-linux-2.12-suse-compatibility.diff
|
||||
Patch52: util-linux-2.12-enablereplaybuild.diff
|
||||
Patch58: util-linux-2.12a-procswapscheck.diff
|
||||
Patch61: util-linux-2.12-mountfallback.patch
|
||||
Patch62: util-linux-2.12a-mountpointwithcolon.diff
|
||||
Patch64: util-linux-2.12i-x86_64intel.diff
|
||||
Patch70: util-linux-2.12h-short-passwords.diff
|
||||
Patch71: util-linux-2.12q-null.diff
|
||||
Patch72: stupid-programmer.diff
|
||||
Patch74: util-linux-nfs-timeo.diff
|
||||
Patch75: util-linux-2.12q-nfsv4.patch
|
||||
Patch76: util-linux-warn-nfsudp.diff
|
||||
Patch77: util-linux-2.12q-ionice.diff
|
||||
Patch78: util-linux-2.11q-fs_mac.diff
|
||||
Patch79: util-linux-opt-hotplug.diff
|
||||
Patch81: util-linux-2.12a-mountbylabel-dm.patch
|
||||
Patch83: util-linux-2.12q-mount--move.diff
|
||||
Patch84: util-linux-nodiratime.diff
|
||||
Patch85: util-linux-2.12q-strict-aliasing.diff
|
||||
Patch86: util-linux-2.12r-mount-by-uuid.patch
|
||||
Patch88: util-linux-2.12q-umount2-not-static.patch
|
||||
Patch90: util-linux-2.12r-nonfsmountfallback.diff
|
||||
Patch91: util-linux-2.12r-mount-mtab-update.patch
|
||||
Patch92: util-linux-2.12r-mount-doubleslashessourceprefix-cifs.diff
|
||||
Patch93: util-linux-2.12r-fdiskwrap.patch
|
||||
Patch94: util-linux-2.12r-rawfixes.patch
|
||||
Patch95: util-linux-2.12r-rpcsec-gss.patch
|
||||
Patch96: util-linux-2.12r-external-prog-on-guess.diff
|
||||
Patch97: util-linux-2.12r-sec-manpage.patch
|
||||
Patch98: util-linux-2.12r-mount.8-xfs-update.patch
|
||||
Patch99: util-linux-libvolume_id-support.patch
|
||||
Patch100: util-linux-2.12r-umount_nosysfs.patch
|
||||
Patch101: util-linux-2.12r-fdisk_llseek.patch
|
||||
Patch102: util-linux-2.12r-pagesize.patch
|
||||
Patch103: util-linux-2.12r-fdiskcyl.patch
|
||||
Patch104: util-linux-2.12r-readprofile-mapfile.patch
|
||||
Patch105: util-linux-2.12r-cal_formatting.patch
|
||||
Patch106: util-linux-2.12r-partx.patch
|
||||
Patch107: util-linux-2.12r-mkswap_fix.patch
|
||||
Patch108: util-linux-2.12r-nfs_remount_options.patch
|
||||
Patch109: util-linux-2.12r-losetup_password.patch
|
||||
Patch110: util-linux-2.12r-mkfs_open_exclusive.patch
|
||||
Patch111: util-linux-2.12r-fdisk_remove_bogus_warnings.patch
|
||||
Patch112: util-linux-2.12r-mount_racy_loop.patch
|
||||
Patch113: util-linux-2.12r-partx_gpt_warning.patch
|
||||
Patch114: util-linux-2.12r-mount_swapon_swsuspend_resume.patch
|
||||
##
|
||||
## util-linux
|
||||
##
|
||||
# add hostid
|
||||
Patch1: util-linux-2.12-misc_utils_hostid.patch
|
||||
# 27181 (suse12181) - wall adds newlines
|
||||
Patch2: util-linux-login_utils_wall.patch
|
||||
# 31815 (suse16815) - Fixed nfs.5 to tell nfsver defaults to 3
|
||||
Patch3: util-linux-mount_nfs.8.patch
|
||||
# 33183 (suse18183) - NFS ACCESS patch, [no]acl nfs mount option
|
||||
Patch4: util-linux-2.11u-mount_nfs_mount_acl.patch
|
||||
Patch5: util-linux-mount_mount.8-acl.patch
|
||||
# geteuid instead of getuid in hwclock to enable making hwclock suid root.
|
||||
Patch6: util-linux-2.11z-hwclock_geteuid.patch
|
||||
# 48018 (suse33018) - mount -t nfs must default to tcp in sles9
|
||||
Patch7: util-linux-2.12-mount_nfs_tcp.patch
|
||||
# 54436 (suse39436) - boot.swap "failed" activating swap on LVM
|
||||
Patch8: util-linux-2.12a-mount_procswapcheck.patch
|
||||
# 56735 (suse41735) - NFS can't mount some exports
|
||||
Patch9: util-linux-2.12-mount_mountfallback.patch
|
||||
# 57097 (suse42097) - mount doesn't allow to mount files that have colons in their path
|
||||
Patch10: util-linux-2.12a-mount_mountpointwithcolon.patch
|
||||
# 76198 - Default retransmit timeout is too small on NFS over TCP
|
||||
Patch11: util-linux-2.13-mount_nfs_timeo.patch
|
||||
# Basic NFSv4 support
|
||||
Patch12: util-linux-2.12-mount_base_nfsv4.patch
|
||||
# 80263 - UDP data corruption due to incorrect IP fragment reassembly
|
||||
Patch13: util-linux-mount_warn_nfsudp.patch
|
||||
# add ionice
|
||||
Patch14: util-linux-2.12q-sys_utils_ionice.patch
|
||||
# 104081 - make fdisk detect MAC-fs
|
||||
Patch15: util-linux-2.11q-fdisk_fs_mac.patch
|
||||
# 104405 - mount -a doesn't work with hotpluggable devices
|
||||
Patch16: util-linux-mount_opt_hotplug.patch
|
||||
Patch17: util-linux-2.12a-mount_mountbylabel-dm.patch
|
||||
# 115129 - mount --move doesn't work as expected
|
||||
Patch18: util-linux-2.12q-mount_--move.patch
|
||||
Patch19: util-linux-2.12q-mount_strict_aliasing.patch
|
||||
Patch20: util-linux-2.12r-mount_by_uuid.patch
|
||||
Patch21: util-linux-2.12q-mount_umount2_not_static.patch
|
||||
# 148409 - df, mount, /proc/mounts show root mounted twice
|
||||
# TODO: Needs fix, because of 231599
|
||||
Patch22: util-linux-2.12r-mount_mtab_update.patch
|
||||
# 153657 - fdisk is not able to manage huge disks
|
||||
Patch23: util-linux-2.12r-fdisk_fdiskwrap.patch
|
||||
# 158401 - cthon06: NFSv3 client does not support RPCSEC_GSS
|
||||
Patch24: util-linux-2.12r-mount_rpcsec_gss.patch
|
||||
# 176582 - If the user doesn't specify -t <fstype> mount.fstype will never be called
|
||||
#TODO: check alternative upstream fix
|
||||
#Patch96: util-linux-2.12r-mount_external_prog_on_guess.patch
|
||||
# 159368 - NFSv4: krb5p; nfs(5) manpage
|
||||
Patch25: util-linux-2.12r-mount_sec_manpage.patch
|
||||
# 158955 - document xfs dmapi mount options better
|
||||
Patch26: util-linux-2.12r-mount_mount.8_xfs_update.patch
|
||||
# use libvolume_id for fs guessing
|
||||
Patch27: util-linux-mount_libvolume_id_support.patch
|
||||
# 190385 - Added sysfs to list of filesystems not to unmount with umount -a
|
||||
Patch28: util-linux-2.12r-mount_umount_nosysfs.patch
|
||||
# 160822 - fix for 153657
|
||||
Patch29: util-linux-2.12r-fdisk_cyl.patch
|
||||
# 179122 - Fix readprofile one ppc64
|
||||
Patch30: util-linux-2.12r-sys_utils_readprofile_mapfile.patch
|
||||
# 203469
|
||||
Patch31: util-linux-2.12r-misc_utils_cal_formatting.patch
|
||||
# 205956 - default swap to V1 in any case
|
||||
Patch32: util-linux-2.12r-disk_utils_mkswap_fix.patch
|
||||
# 130625 - do not append addr option with each nfs remount
|
||||
Patch33: util-linux-2.12r-mount_nfs_remount_options.patch
|
||||
# 238687 - let mkfs tools open block devices with O_EXCL
|
||||
Patch34: util-linux-2.12r-disk_utils_mkfs_open_exclusive.patch
|
||||
# 241372 - remove legacy warnings from fdisk
|
||||
Patch35: util-linux-2.12r-fdisk_remove_bogus_warnings.patch
|
||||
# 242750 - mount: fix race condition when using -o loop
|
||||
Patch36: util-linux-2.12r-mount_racy_loop.patch
|
||||
Patch37: util-linux-2.13-misc_utils_add_man_scriptreplay.patch
|
||||
# 254437 - swapon should automatically reset the suspend signature
|
||||
Patch38: util-linux-2.12r-mount_swapon_swsuspend_resume.patch
|
||||
Patch39: util-linux-2.13-tests_missing_include.patch
|
||||
Patch40: util-linux-2.13-sys_utils_arch.patch
|
||||
Patch41: util-linux-2.13-build_gnu_source.patch
|
||||
Patch42: util-linux-2.13-build_fix_intel_check.patch
|
||||
##
|
||||
## adjtimex
|
||||
##
|
||||
Patch50: adjtimex-1.20-nosyscall.diff
|
||||
##
|
||||
## klogconsole
|
||||
##
|
||||
Patch55: klogconsole-quiet.patch
|
||||
Patch56: klogconsole.diff
|
||||
##
|
||||
## time
|
||||
##
|
||||
Patch60: time-1.7.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: %insserv_prereq %fillup_prereq /bin/sed
|
||||
|
||||
@@ -129,78 +156,62 @@ Authors:
|
||||
Adrian Bunk <bunk at stusta dot de>
|
||||
|
||||
%prep
|
||||
%setup -q -a 9 -b 10 -b 11 -b 12 -b 13 -b 16 -b 24
|
||||
%patch -p1
|
||||
%setup -q -a 9 -b 10 -b 11 -b 12 -b 13 -b 24 -n %name-ng-%version
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p0
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p0
|
||||
%patch6
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch43
|
||||
cd adjtimex-*
|
||||
%patch44 -p1
|
||||
cd -
|
||||
%patch12 -p1
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch16 -p1
|
||||
%patch17 -p1
|
||||
%patch18
|
||||
%patch19 -p1
|
||||
%patch20 -p1
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch24
|
||||
%patch25 -p1
|
||||
%patch26 -p0
|
||||
%patch46 -p1
|
||||
%patch51 -p1
|
||||
%patch52 -p0
|
||||
%patch58 -p1
|
||||
%patch61 -p1
|
||||
%patch62 -p1
|
||||
%patch64 -p1
|
||||
%patch70 -p1
|
||||
%patch71 -p1
|
||||
%patch72
|
||||
%patch74 -p1
|
||||
%patch75 -p1
|
||||
%patch76 -p1
|
||||
%patch77 -p1
|
||||
%patch78 -p1
|
||||
%patch79 -p1
|
||||
%patch81 -p1
|
||||
%patch83
|
||||
%patch84 -p1
|
||||
%patch85 -p1
|
||||
%patch86 -p1
|
||||
%patch88
|
||||
%patch90 -p1
|
||||
%patch91
|
||||
%patch92 -p1
|
||||
%patch93 -p1
|
||||
%patch94 -p1
|
||||
%patch95
|
||||
%patch96 -p1
|
||||
%patch97 -p1
|
||||
%patch98
|
||||
%patch99 -p0
|
||||
%patch100
|
||||
%patch101
|
||||
%patch102
|
||||
%patch103 -p1
|
||||
%patch104 -p1
|
||||
%patch105
|
||||
%patch106 -p1
|
||||
%patch107 -p1
|
||||
%patch108 -p1
|
||||
%patch109 -p1
|
||||
%patch110 -p1
|
||||
%patch111 -p1
|
||||
%patch112 -p1
|
||||
%patch113 -p1
|
||||
%patch114 -p1
|
||||
%patch26
|
||||
%patch27 -p1
|
||||
%patch28
|
||||
%patch29 -p1
|
||||
%patch30 -p1
|
||||
%patch31
|
||||
%patch32 -p1
|
||||
%patch33 -p1
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%patch37 -p1
|
||||
%patch38 -p1
|
||||
%patch39 -p1
|
||||
%patch40 -p1
|
||||
%patch41 -p1
|
||||
%patch42 -p1
|
||||
#
|
||||
cd adjtimex-*
|
||||
%patch50 -p1
|
||||
cd -
|
||||
# setctsid
|
||||
cp %{S:22} %{S:23} .
|
||||
# nologin and guessfstype
|
||||
cp %{S:2} %{S:3} %{S:8} %{S:15} %{S:20} %{S:21} %{S:26} %{S:30} .
|
||||
# nologin
|
||||
cp %{S:2} %{S:3} %{S:15} %{S:26} %{S:30} .
|
||||
cd ../klogconsole
|
||||
%patch27 -p1 -b .quiet
|
||||
%patch32 -p1
|
||||
%patch55 -p1 -b .quiet
|
||||
%patch56 -p1
|
||||
cd ../time-*
|
||||
%patch40
|
||||
%patch60
|
||||
|
||||
%build
|
||||
# adjtimex build
|
||||
@@ -241,20 +252,30 @@ cd ..
|
||||
cd sm-notify*
|
||||
make CFLAGS="$RPM_OPT_FLAGS"
|
||||
cd ..
|
||||
# schedutils build
|
||||
cd schedutils-*
|
||||
make CFLAGS="$RPM_OPT_FLAGS"
|
||||
popd
|
||||
# setctsid build
|
||||
rm -f setctsid
|
||||
make setctsid OPT="$RPM_OPT_FLAGS"
|
||||
make setctsid CFLAGS="$RPM_OPT_FLAGS"
|
||||
#
|
||||
# util-linux itself
|
||||
#
|
||||
%ifarch s390 s390x
|
||||
export CFLAGS=-DCONFIG_SMP
|
||||
CFLAGS=-DCONFIG_SMP
|
||||
%endif
|
||||
export CFLAGS
|
||||
./configure
|
||||
make OPT="$RPM_OPT_FLAGS"
|
||||
#autoreconf -fi
|
||||
./autogen.sh
|
||||
./configure --mandir=%{_mandir} \
|
||||
--datadir=%{_datadir} \
|
||||
--enable-elvtune \
|
||||
--enable-mesg \
|
||||
--enable-partx \
|
||||
--enable-raw \
|
||||
--enable-rdev \
|
||||
--enable-script \
|
||||
--enable-write \
|
||||
--disable-use-tty-group \
|
||||
CFLAGS="$CFLAGS $RPM_OPT_FLAGS"
|
||||
make
|
||||
gcc $RPM_OPT_FLAGS -o nologin nologin.c
|
||||
gcc $RPM_OPT_FLAGS -o mkzimage_cmdline %{S:29}
|
||||
|
||||
@@ -304,27 +325,19 @@ mkdir -p $RPM_BUILD_ROOT/var/lib/nfs/sm.bak
|
||||
chmod 700 $RPM_BUILD_ROOT/var/lib/nfs/sm.bak
|
||||
touch $RPM_BUILD_ROOT/var/lib/nfs/state
|
||||
chmod 644 $RPM_BUILD_ROOT/var/lib/nfs/state
|
||||
cd ..
|
||||
# schedutils install
|
||||
cd schedutils-*
|
||||
make PREFIX=$RPM_BUILD_ROOT/usr \
|
||||
DOCDIR=$RPM_BUILD_ROOT%_docdir/schedutils \
|
||||
MANDIR=$RPM_BUILD_ROOT%_mandir install installdoc
|
||||
popd
|
||||
#
|
||||
# util-linux install
|
||||
#
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
mv $RPM_BUILD_ROOT/usr/bin/logger $RPM_BUILD_ROOT/bin/logger
|
||||
install -m 644 mount/filesystems $RPM_BUILD_ROOT/etc/filesystems
|
||||
install -m 644 %{SOURCE6} $RPM_BUILD_ROOT/etc/filesystems
|
||||
install -m 755 nologin $RPM_BUILD_ROOT/sbin
|
||||
%ifnarch ppc ppc64
|
||||
install -m 755 mkzimage_cmdline $RPM_BUILD_ROOT/usr/bin
|
||||
install -m 644 %{S:28} $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
%endif
|
||||
install -m 755 mount/guessfstype $RPM_BUILD_ROOT/bin
|
||||
install -m 644 nologin.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
install -m 755 disk-utils/raw $RPM_BUILD_ROOT/usr/sbin
|
||||
install -m 644 disk-utils/raw.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
install -m 644 guessfstype.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
# setctsid install
|
||||
install -m 755 setctsid $RPM_BUILD_ROOT/usr/sbin
|
||||
install -m 444 setctsid.8 $RPM_BUILD_ROOT%{_mandir}/man8/
|
||||
@@ -336,15 +349,9 @@ install -m 644 $RPM_SOURCE_DIR/etc.raw $RPM_BUILD_ROOT/etc/raw
|
||||
install -m 755 $RPM_SOURCE_DIR/raw.init $RPM_BUILD_ROOT/etc/init.d/raw
|
||||
ln -sf ../../etc/init.d/raw $RPM_BUILD_ROOT/usr/sbin/rcraw
|
||||
# Stupid hack so we don't have a tcsh dependency
|
||||
chmod 644 $RPM_BUILD_ROOT/usr/share/misc/getopt/*
|
||||
#chmod 644 $RPM_BUILD_ROOT/usr/share/misc/getopt/*
|
||||
# Following files we don't want to package, so remove them
|
||||
rm -f $RPM_BUILD_ROOT/bin/kill
|
||||
rm -f $RPM_BUILD_ROOT/sbin/guessfstype # in /bin
|
||||
rm -f $RPM_BUILD_ROOT/usr/bin/last
|
||||
rm -f $RPM_BUILD_ROOT/usr/bin/raw
|
||||
rm -f $RPM_BUILD_ROOT/usr/bin/pg
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/kill.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/last.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/pg.1*
|
||||
%ifarch s390 s390x
|
||||
rm -f $RPM_BUILD_ROOT/etc/fdprm
|
||||
@@ -352,26 +359,14 @@ rm -f $RPM_BUILD_ROOT/usr/bin/cytune
|
||||
rm -f $RPM_BUILD_ROOT/usr/bin/fdformat
|
||||
rm -f $RPM_BUILD_ROOT/sbin/hwclock
|
||||
rm -f $RPM_BUILD_ROOT/usr/sbin/klogconsole
|
||||
rm -f $RPM_BUILD_ROOT/usr/bin/setfdprm
|
||||
rm -f $RPM_BUILD_ROOT/usr/bin/setterm
|
||||
rm -f $RPM_BUILD_ROOT/usr/sbin/tunelp
|
||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/cytune.8*
|
||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/fdformat.8*
|
||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/hwclock.8*
|
||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/klogconsole.8*
|
||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/setfdprm.8*
|
||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/tunelp.8*
|
||||
%endif
|
||||
%ifnarch %ix86 x86_64
|
||||
rm -f $RPM_BUILD_ROOT/usr/sbin/ramsize
|
||||
rm -f $RPM_BUILD_ROOT/usr/sbin/rdev
|
||||
rm -f $RPM_BUILD_ROOT/usr/sbin/rootflags
|
||||
rm -f $RPM_BUILD_ROOT/usr/sbin/vidmode
|
||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/ramsize.8*
|
||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/rdev.8*
|
||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/rootflags.8*
|
||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/vidmode.8*
|
||||
%endif
|
||||
%ifarch ia64 sparc
|
||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/cfdisk.8*
|
||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/sfdisk.8*
|
||||
@@ -413,17 +408,16 @@ fi
|
||||
%files
|
||||
# Common files for all archs
|
||||
%defattr(-,root,root)
|
||||
%doc HISTORY INSTALL
|
||||
%doc INSTALL
|
||||
%doc login-utils/README.getty
|
||||
%doc login-utils/README.modems-with-agetty
|
||||
%doc login-utils/README.poeigl
|
||||
%doc misc-utils/README.cal
|
||||
%doc misc-utils/README.namei
|
||||
%doc misc-utils/README1.namei
|
||||
%doc misc-utils/README.namei2
|
||||
%doc mount/README.mount
|
||||
%doc hwclock/README.hwclock
|
||||
%doc text-utils/README.col
|
||||
%doc README.loop-AES-v2.2d README.loop-AES-v2.2d.SuSE
|
||||
%doc README.largedisk
|
||||
%config %attr(744,root,root) /etc/init.d/raw
|
||||
%attr(755,root,root) /etc/init.d/nfsboot
|
||||
@@ -431,7 +425,6 @@ fi
|
||||
/usr/sbin/rcraw
|
||||
/bin/arch
|
||||
/bin/dmesg
|
||||
/bin/guessfstype
|
||||
/bin/more
|
||||
/bin/mount
|
||||
/bin/umount
|
||||
@@ -449,9 +442,8 @@ fi
|
||||
/sbin/mkfs.cramfs
|
||||
/sbin/mkswap
|
||||
/sbin/nologin
|
||||
/sbin/partx
|
||||
/sbin/pivot_root
|
||||
/sbin/sln
|
||||
/sbin/raw
|
||||
/sbin/sm-notify
|
||||
/sbin/swapoff
|
||||
/sbin/swapon
|
||||
@@ -491,18 +483,19 @@ fi
|
||||
/usr/bin/taskset
|
||||
/usr/bin/time
|
||||
/usr/bin/which
|
||||
/usr/sbin/addpart
|
||||
/usr/sbin/delpart
|
||||
/usr/sbin/freeramdisk
|
||||
/usr/sbin/partx
|
||||
/usr/sbin/setctsid
|
||||
%verify(not mode) %attr(0755,root,tty) /usr/bin/wall
|
||||
/usr/bin/whereis
|
||||
/usr/sbin/adjtimex
|
||||
%verify(not mode) %attr(0755,root,tty) /usr/bin/write
|
||||
%dir %{_defaultdocdir}/schedutils
|
||||
%dir %{_defaultdocdir}/time
|
||||
%dir %{_defaultdocdir}/which
|
||||
/var/lib/nfs
|
||||
%ghost /var/lib/nfs/state
|
||||
%{_defaultdocdir}/schedutils/*
|
||||
%{_defaultdocdir}/time/*
|
||||
%{_defaultdocdir}/which/*
|
||||
%{_infodir}/ipc.info.gz
|
||||
@@ -535,6 +528,7 @@ fi
|
||||
%{_mandir}/man1/scriptreplay.1.gz
|
||||
%{_mandir}/man1/rev.1.gz
|
||||
%{_mandir}/man1/script.1.gz
|
||||
%{_mandir}/man1/setterm.1.gz
|
||||
%{_mandir}/man1/tailf.1.gz
|
||||
%{_mandir}/man1/taskset.1.gz
|
||||
%{_mandir}/man1/ul.1.gz
|
||||
@@ -544,9 +538,10 @@ fi
|
||||
%{_mandir}/man1/which.1.gz
|
||||
%{_mandir}/man5/fstab.5.gz
|
||||
%{_mandir}/man5/nfs.5.gz
|
||||
%{_mandir}/man8/addpart.8.gz
|
||||
%{_mandir}/man8/agetty.8.gz
|
||||
%{_mandir}/man8/blockdev.8.gz
|
||||
%{_mandir}/man1/setterm.1.gz
|
||||
%{_mandir}/man8/delpart.8.gz
|
||||
%{_mandir}/man8/elvtune.8*
|
||||
%{_mandir}/man8/ctrlaltdel.8.gz
|
||||
%{_mandir}/man8/adjtimex.8.gz
|
||||
@@ -565,26 +560,24 @@ fi
|
||||
%ifnarch ppc ppc64
|
||||
%{_mandir}/man8/mkzimage_cmdline.8.gz
|
||||
%endif
|
||||
%{_mandir}/man8/partx.8.gz
|
||||
%{_mandir}/man8/pivot_root.8.gz
|
||||
%{_mandir}/man8/raw.8.gz
|
||||
%{_mandir}/man8/renice.8.gz
|
||||
%{_mandir}/man8/setsid.8.gz
|
||||
%{_mandir}/man8/sln.8.gz
|
||||
%{_mandir}/man8/sm-notify.8.gz
|
||||
%{_mandir}/man8/swapoff.8.gz
|
||||
%{_mandir}/man8/swapon.8.gz
|
||||
%{_mandir}/man8/umount.8.gz
|
||||
%{_mandir}/man8/guessfstype.8.gz
|
||||
%{_mandir}/man8/setctsid.8.gz
|
||||
/usr/sbin/raw
|
||||
/usr/sbin/flushb
|
||||
/usr/sbin/readprofile
|
||||
%dir /usr/share/misc/getopt
|
||||
%attr (755,root,root) /usr/share/misc/getopt/getopt-parse.bash
|
||||
%attr (755,root,root) /usr/share/misc/getopt/getopt-parse.tcsh
|
||||
%attr (755,root,root) /usr/share/misc/getopt/getopt-test.bash
|
||||
%attr (755,root,root) /usr/share/misc/getopt/getopt-test.tcsh
|
||||
/usr/share/locale/*/LC_MESSAGES/util-linux.mo
|
||||
%dir /usr/share/getopt
|
||||
%attr (755,root,root) /usr/share/getopt/getopt-parse.bash
|
||||
%attr (755,root,root) /usr/share/getopt/getopt-parse.tcsh
|
||||
%attr (755,root,root) /usr/share/getopt/getopt-test.bash
|
||||
%attr (755,root,root) /usr/share/getopt/getopt-test.tcsh
|
||||
/usr/share/locale/*/LC_MESSAGES/util-linux-ng.mo
|
||||
%ifnarch ia64
|
||||
%doc fdisk/README.fdisk
|
||||
/sbin/fdisk
|
||||
@@ -608,23 +601,61 @@ fi
|
||||
%{_mandir}/man8/vidmode.8.gz
|
||||
%endif
|
||||
%ifnarch s390 s390x
|
||||
%config(noreplace) /etc/fdprm
|
||||
#%config(noreplace) /etc/fdprm
|
||||
/usr/bin/cytune
|
||||
/usr/bin/fdformat
|
||||
/sbin/hwclock
|
||||
/usr/sbin/klogconsole
|
||||
/usr/bin/setfdprm
|
||||
/usr/bin/setterm
|
||||
/usr/sbin/tunelp
|
||||
%{_mandir}/man8/cytune.8.gz
|
||||
%{_mandir}/man8/fdformat.8.gz
|
||||
%{_mandir}/man8/hwclock.8.gz
|
||||
%{_mandir}/man8/klogconsole.8.gz
|
||||
%{_mandir}/man8/setfdprm.8.gz
|
||||
%{_mandir}/man8/tunelp.8.gz
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Apr 10 2007 - mkoenig@suse.de
|
||||
- update to version git20070330 of new forked development tree
|
||||
- removed Suse crypto patches for losetup [FATE#302001]
|
||||
- removed binaries:
|
||||
/bin/guessfstype
|
||||
/sbin/sln
|
||||
/usr/bin/setfdprm
|
||||
- removed obsolete patches:
|
||||
* guessfstype2.patch
|
||||
* loop-AES-v3.0a-util-linux-2.12p.diff
|
||||
* mount-nfs-nonreserved
|
||||
* stupid-programmer.diff
|
||||
* util-linux-nodiratime.diff
|
||||
* util-linux-2.12-multipleraw.diff
|
||||
* util-linux-2.12-enablereplaybuild.diff
|
||||
* util-linux-2.12-mount_guessfstype.diff
|
||||
* util-linux-2.12h-mtablock.diff
|
||||
* util-linux-2.12i-x86_64intel.diff
|
||||
* util-linux-2.12q-null.diff
|
||||
* util-linux-2.12r.diff
|
||||
* util-linux-2.12r-fdisk_llseek.patch
|
||||
* util-linux-2.12r-mount-doubleslashessourceprefix-cifs.diff
|
||||
* util-linux-2.12r-mount_external_prog_on_guess.patch
|
||||
* util-linux-2.12r-nonfsmountfallback.diff
|
||||
* util-linux-2.12r-pagesize.patch
|
||||
* util-linux-2.12r-partx_enable.patch
|
||||
* util-linux-2.12r-partx_gpt_warning.patch
|
||||
- add patches:
|
||||
* util-linux-2.13-misc_utils_add_man_scriptreplay.patch
|
||||
install man page for scriptreplay
|
||||
* util-linux-2.13-tests_missing_include.patch
|
||||
fix missing header in tests/mnt_test_sysinfo.c
|
||||
* util-linux-2.13-sys_utils_arch.patch
|
||||
keep /bin/arch
|
||||
* util-linux-2.13-build_gnu_source.patch
|
||||
build with _GNU_SOURCE
|
||||
* util-linux-2.13-build_fix_intel_check.patch
|
||||
detect also x86_64 as INTEL architecture
|
||||
- rename patches to identify them clearly by subsystem
|
||||
- schedutils now part of util-linux itself
|
||||
* Wed Apr 04 2007 - mkoenig@suse.de
|
||||
- add Supplements line [FATE#301966]
|
||||
* Mon Mar 26 2007 - rguenther@suse.de
|
||||
|
Reference in New Issue
Block a user