2006-12-19 00:18:10 +01:00
|
|
|
#
|
2010-07-30 12:35:45 +02:00
|
|
|
# spec file for package util-linux (Version 2.18)
|
2006-12-19 00:18:10 +01:00
|
|
|
#
|
2010-02-25 11:23:43 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:18:10 +01:00
|
|
|
#
|
2008-08-18 22:57:09 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-19 00:18:10 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2013-06-05 15:07:12 +02:00
|
|
|
|
2010-07-30 12:35:45 +02:00
|
|
|
%define time_ver 1.7
|
|
|
|
%define which_ver 2.20
|
|
|
|
%define adjtimex_ver 1.28
|
2008-02-15 01:43:38 +01:00
|
|
|
|
2006-12-19 00:18:10 +01:00
|
|
|
Name: util-linux
|
2010-07-30 12:35:45 +02:00
|
|
|
BuildRequires: audit-devel
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libsepol-devel
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: zlib-devel
|
2009-04-18 14:05:54 +02:00
|
|
|
Url: http://userweb.kernel.org/~kzak/util-linux-ng/
|
2007-04-04 20:44:32 +02:00
|
|
|
Supplements: filesystem(minix)
|
2006-12-19 00:18:10 +01:00
|
|
|
PreReq: %install_info_prereq permissions
|
2010-04-07 13:15:12 +02:00
|
|
|
License: GPLv2+
|
2006-12-19 00:18:10 +01:00
|
|
|
Group: System/Base
|
2007-09-14 16:28:15 +02:00
|
|
|
AutoReqProv: on
|
2010-07-30 12:35:45 +02:00
|
|
|
Version: 2.18
|
2010-10-08 01:10:52 +02:00
|
|
|
Release: 2
|
2010-02-25 11:23:43 +01:00
|
|
|
Recommends: %name-lang = %{version}
|
2006-12-19 00:18:10 +01:00
|
|
|
Summary: A collection of basic system utilities
|
2010-02-25 11:23:43 +01:00
|
|
|
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v%{version}/%name-ng-%{version}.tar.bz2
|
2009-07-03 17:12:19 +02:00
|
|
|
Source1: util-linux-rpmlintrc
|
2010-07-30 12:35:45 +02:00
|
|
|
# XXX: make nologin part of login package
|
2006-12-19 00:18:10 +01:00
|
|
|
Source2: nologin.c
|
|
|
|
Source3: nologin.8
|
|
|
|
Source4: raw.init
|
2006-12-19 00:18:10 +01:00
|
|
|
Source5: etc.raw
|
2007-04-12 18:31:42 +02:00
|
|
|
Source6: etc_filesystems
|
2010-07-30 12:35:45 +02:00
|
|
|
# XXX: add libmnt
|
2009-12-16 08:59:34 +01:00
|
|
|
Source7: baselibs.conf
|
2010-02-25 11:23:43 +01:00
|
|
|
# XXX: post upstream?
|
2006-12-19 00:18:10 +01:00
|
|
|
Source9: adjtimex-%{adjtimex_ver}.tar.bz2
|
2010-02-25 11:23:43 +01:00
|
|
|
# XXX: post upstream?
|
2006-12-19 00:18:10 +01:00
|
|
|
Source11: klogconsole.tar.bz2
|
2010-02-25 11:23:43 +01:00
|
|
|
# TODO: split to separate package
|
2007-07-05 13:24:26 +02:00
|
|
|
Source12: which-%{which_ver}.tar.bz2
|
2010-02-25 11:23:43 +01:00
|
|
|
# TODO: split to separate package
|
2007-07-05 13:24:26 +02:00
|
|
|
Source13: time-%{time_ver}.tar.bz2
|
2010-02-25 11:23:43 +01:00
|
|
|
# XXX: needed?
|
2006-12-19 00:18:10 +01:00
|
|
|
Source22: setctsid.c
|
|
|
|
Source23: setctsid.8
|
2010-02-25 11:23:43 +01:00
|
|
|
# XXX: ppc specific, still needed?
|
2006-12-19 00:18:10 +01:00
|
|
|
Source28: mkzimage_cmdline.8
|
|
|
|
Source29: mkzimage_cmdline.c
|
2008-11-21 15:54:57 +01:00
|
|
|
Source31: addnote.c
|
2010-02-25 11:23:43 +01:00
|
|
|
#
|
|
|
|
Source26: README.raw
|
|
|
|
Source30: README.largedisk
|
2009-07-03 17:12:19 +02:00
|
|
|
Source50: uuidd.rc
|
2009-07-17 15:52:45 +02:00
|
|
|
Source51: blkid.conf
|
2007-04-12 18:31:42 +02:00
|
|
|
##
|
2008-02-15 01:43:38 +01:00
|
|
|
## util-linux patches
|
2007-04-12 18:31:42 +02:00
|
|
|
##
|
|
|
|
# 241372 - remove legacy warnings from fdisk
|
2009-10-02 23:21:11 +02:00
|
|
|
Patch1: util-linux-2.12r-fdisk_remove_bogus_warnings.patch
|
2008-04-04 01:49:00 +02:00
|
|
|
# crypto patch
|
2010-02-25 11:23:43 +01:00
|
|
|
Patch3: util-linux-2.17.1-mount_losetup_crypto.patch
|
2010-03-12 16:45:47 +01:00
|
|
|
Patch4: util-linux-2.17.1-losetup-honor-documented-c-option
|
2010-06-25 20:44:47 +02:00
|
|
|
Patch7: util-linux-swapon-btrfs-limitations
|
2007-08-28 19:22:43 +02:00
|
|
|
##
|
2007-04-12 18:31:42 +02:00
|
|
|
## adjtimex
|
|
|
|
##
|
|
|
|
##
|
|
|
|
## klogconsole
|
|
|
|
##
|
|
|
|
Patch55: klogconsole-quiet.patch
|
|
|
|
Patch56: klogconsole.diff
|
|
|
|
##
|
|
|
|
## time
|
|
|
|
##
|
|
|
|
Patch60: time-1.7.dif
|
2007-06-05 01:15:28 +02:00
|
|
|
##
|
|
|
|
## which
|
|
|
|
##
|
|
|
|
Patch70: which-lib64.patch
|
2006-12-19 00:18:10 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2006-12-19 00:18:10 +01:00
|
|
|
PreReq: %insserv_prereq %fillup_prereq /bin/sed
|
2010-02-25 11:23:43 +01:00
|
|
|
#
|
2010-07-30 12:35:45 +02:00
|
|
|
Provides: util = %{version}-%{release} rawio = %{version}-%{release} raw = %{version}-%{release} base = %{version}-%{release} uuid-runtime = %{version}-%{release}
|
|
|
|
Obsoletes: util < %{version}-%{release} rawio < %{version}-%{release} raw < %{version}-%{release} base < %{version}-%{release} uuid-runtime < %{version}-%{release}
|
2006-12-19 00:18:10 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a large variety of low-level system utilities
|
|
|
|
that are necessary for a Linux system to function. It contains the
|
|
|
|
mount program, the fdisk configuration tool, and more.
|
|
|
|
|
2009-07-03 17:12:19 +02:00
|
|
|
%package -n libblkid1
|
2009-12-04 09:56:26 +01:00
|
|
|
License: GPLv2+
|
2009-07-03 17:12:19 +02:00
|
|
|
Summary: Filesystem detection library
|
|
|
|
Group: System/Filesystems
|
|
|
|
AutoReqProv: on
|
|
|
|
|
|
|
|
%description -n libblkid1
|
|
|
|
Library for filesystem detection.
|
|
|
|
|
|
|
|
%package -n libblkid-devel
|
2009-12-04 09:56:26 +01:00
|
|
|
License: GPLv2+
|
2009-07-03 17:12:19 +02:00
|
|
|
Summary: Development files for the filesystem detection library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
AutoReqProv: on
|
2010-07-30 12:35:45 +02:00
|
|
|
Requires: libblkid1 = %version
|
2009-07-03 17:12:19 +02:00
|
|
|
|
|
|
|
%description -n libblkid-devel
|
|
|
|
Files needed to develop applications using the library for filesystem
|
|
|
|
detection.
|
|
|
|
|
|
|
|
%package -n uuidd
|
2009-12-04 09:56:26 +01:00
|
|
|
License: GPLv2+
|
2009-07-03 17:12:19 +02:00
|
|
|
Summary: Utilities for the Second Extended File System
|
|
|
|
Group: System/Filesystems
|
|
|
|
AutoReqProv: on
|
|
|
|
PreReq: %fillup_prereq %insserv_prereq permissions pwdutils
|
|
|
|
|
|
|
|
%description -n uuidd
|
|
|
|
Utilities needed to create and maintain ext2 and ext3 file systems
|
|
|
|
under Linux. Included in this package are: chattr, lsattr, mke2fs,
|
|
|
|
mklost+found, tune2fs, e2fsck, resize2fs, and badblocks.
|
2010-07-30 12:35:45 +02:00
|
|
|
|
2009-07-03 17:12:19 +02:00
|
|
|
%package -n libuuid1
|
2009-12-04 09:56:26 +01:00
|
|
|
License: GPLv2+
|
2009-07-03 17:12:19 +02:00
|
|
|
Summary: Library to generate UUIDs
|
|
|
|
Group: System/Filesystems
|
|
|
|
AutoReqProv: on
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2009-07-03 17:12:19 +02:00
|
|
|
%description -n libuuid1
|
|
|
|
A library to generate universally unique IDs (UUIDs).
|
|
|
|
|
|
|
|
%package -n libuuid-devel
|
2009-12-04 09:56:26 +01:00
|
|
|
License: GPLv2+
|
2009-07-03 17:12:19 +02:00
|
|
|
Summary: Development files for libuuid1
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
AutoReqProv: on
|
|
|
|
Requires: libuuid1 = %version
|
|
|
|
|
|
|
|
%description -n libuuid-devel
|
|
|
|
Files to develop applications using the library to generate universally
|
|
|
|
unique IDs (UUIDs).
|
2014-07-25 09:31:27 +02:00
|
|
|
|
2010-07-30 12:35:45 +02:00
|
|
|
%package -n libmount1
|
|
|
|
License: GPLv2+
|
|
|
|
Summary: Mount library
|
|
|
|
Group: System/Filesystems
|
|
|
|
AutoReqProv: on
|
|
|
|
|
|
|
|
%description -n libmount1
|
|
|
|
Library designed to be used in low-level utils like
|
|
|
|
mount(8) and /sbin/mount.<type> helpers.
|
|
|
|
|
|
|
|
%package -n libmount-devel
|
|
|
|
License: GPLv2+
|
|
|
|
Summary: Development files for libmount1
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
AutoReqProv: on
|
|
|
|
Requires: libmount1 = %version
|
|
|
|
|
|
|
|
%description -n libmount-devel
|
|
|
|
Files to develop applications using the libmount library.
|
|
|
|
|
2008-03-27 23:24:22 +01:00
|
|
|
%lang_package
|
2006-12-19 00:18:10 +01:00
|
|
|
%prep
|
2010-03-12 16:45:47 +01:00
|
|
|
%setup -q -a 9 -b 11 -b 12 -b 13 -n %name-ng-%version
|
2009-10-02 23:21:11 +02:00
|
|
|
%patch1 -p1
|
2007-08-29 22:46:52 +02:00
|
|
|
%patch3 -p1
|
2010-03-12 16:45:47 +01:00
|
|
|
%patch4 -p1
|
2010-06-25 20:44:47 +02:00
|
|
|
%patch7 -p1
|
2007-04-12 18:31:42 +02:00
|
|
|
#
|
|
|
|
cd adjtimex-*
|
2010-07-30 12:35:45 +02:00
|
|
|
# adjtimex patches belongs here
|
2007-04-12 18:31:42 +02:00
|
|
|
cd -
|
2006-12-19 00:18:10 +01:00
|
|
|
# setctsid
|
2006-12-19 00:18:10 +01:00
|
|
|
cp %{S:22} %{S:23} .
|
2007-04-12 18:31:42 +02:00
|
|
|
# nologin
|
2010-02-25 11:23:43 +01:00
|
|
|
cp %{S:2} %{S:3} %{S:26} %{S:30} .
|
2006-12-19 00:18:10 +01:00
|
|
|
cd ../klogconsole
|
2010-07-30 12:35:45 +02:00
|
|
|
#%#patch55 -p1 -b .quiet
|
|
|
|
%patch55 -p1
|
2007-04-12 18:31:42 +02:00
|
|
|
%patch56 -p1
|
2006-12-19 00:18:10 +01:00
|
|
|
cd ../time-*
|
2007-04-12 18:31:42 +02:00
|
|
|
%patch60
|
2007-06-05 01:15:28 +02:00
|
|
|
cd ../which-*
|
|
|
|
%patch70
|
2013-06-05 14:07:19 +02:00
|
|
|
|
2006-12-19 00:18:10 +01:00
|
|
|
%build
|
2006-12-19 00:18:10 +01:00
|
|
|
# adjtimex build
|
|
|
|
cd adjtimex-%{adjtimex_ver}
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" ./configure
|
2010-07-30 12:35:45 +02:00
|
|
|
make %{?_smp_mflags}
|
2006-12-19 00:18:10 +01:00
|
|
|
cd ..
|
|
|
|
pushd ../
|
|
|
|
# which build
|
|
|
|
cd which-%{which_ver}
|
2008-07-09 01:56:54 +02:00
|
|
|
aclocal --force
|
|
|
|
autoconf --force
|
|
|
|
automake --force-missing --add-missing --foreign
|
2006-12-19 00:18:10 +01:00
|
|
|
%{?suse_update_config:%{suse_update_config}}
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--infodir=%{_infodir} \
|
|
|
|
%{_target_cpu}-suse-linux
|
2010-07-30 12:35:45 +02:00
|
|
|
make %{?_smp_mflags}
|
2006-12-19 00:18:10 +01:00
|
|
|
cd ..
|
|
|
|
# time build
|
|
|
|
cd time-%{time_ver}
|
|
|
|
%{?suse_update_config:%{suse_update_config}}
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE " INSTALL_PROGRAM='$(INSTALL)' \
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--infodir=%{_infodir} \
|
|
|
|
%{_target_cpu}-suse-linux
|
2010-07-30 12:35:45 +02:00
|
|
|
make %{?_smp_mflags}
|
2006-12-19 00:18:10 +01:00
|
|
|
cd ..
|
2006-12-19 00:18:10 +01:00
|
|
|
# klogconsole build
|
2006-12-19 00:18:10 +01:00
|
|
|
cd klogconsole
|
2010-07-30 12:35:45 +02:00
|
|
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
2006-12-19 00:18:10 +01:00
|
|
|
cd ..
|
2006-12-19 00:18:10 +01:00
|
|
|
popd
|
|
|
|
# setctsid build
|
|
|
|
rm -f setctsid
|
2010-07-30 12:35:45 +02:00
|
|
|
make %{?_smp_mflags} setctsid CFLAGS="$RPM_OPT_FLAGS"
|
2007-04-12 18:31:42 +02:00
|
|
|
#
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
# util-linux itself
|
2007-04-12 18:31:42 +02:00
|
|
|
#
|
2008-06-26 00:34:31 +02:00
|
|
|
autoreconf -fi
|
2010-02-25 11:23:43 +01:00
|
|
|
export SUID_CFLAGS="-fpie"
|
|
|
|
export SUID_LDFLAGS="-pie"
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" \
|
2009-07-03 17:12:19 +02:00
|
|
|
./configure \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--datadir=%{_datadir} \
|
|
|
|
--bindir=/bin \
|
|
|
|
--sbindir=/sbin \
|
|
|
|
--libdir=/%{_lib} \
|
|
|
|
--with-audit \
|
|
|
|
--with-selinux \
|
|
|
|
--enable-elvtune \
|
|
|
|
--enable-mesg \
|
|
|
|
--enable-partx \
|
|
|
|
--enable-raw \
|
|
|
|
--enable-write \
|
|
|
|
--disable-use-tty-group \
|
|
|
|
--disable-static \
|
2010-02-25 11:23:43 +01:00
|
|
|
#
|
2010-07-30 12:35:45 +02:00
|
|
|
make %{?_smp_mflags}
|
2010-02-25 11:23:43 +01:00
|
|
|
#
|
2006-12-19 00:18:10 +01:00
|
|
|
gcc $RPM_OPT_FLAGS -o nologin nologin.c
|
|
|
|
gcc $RPM_OPT_FLAGS -o mkzimage_cmdline %{S:29}
|
2008-11-21 15:54:57 +01:00
|
|
|
gcc $RPM_OPT_FLAGS -o chrp-addnote %{SOURCE31}
|
2013-12-12 13:34:11 +01:00
|
|
|
|
2008-02-10 18:13:34 +01:00
|
|
|
%check
|
|
|
|
cd ../time-%{time_ver}
|
|
|
|
make check
|
|
|
|
|
2006-12-19 00:18:10 +01:00
|
|
|
%install
|
2009-07-03 17:12:19 +02:00
|
|
|
mkdir -p "$RPM_BUILD_ROOT"{/etc/init.d,%{_mandir}/man{1,8},/bin,/sbin,/usr/bin,/usr/sbin,%{_infodir}}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/libuuid/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/run/uuidd/
|
|
|
|
install -m 744 %{SOURCE50} $RPM_BUILD_ROOT/etc/init.d/uuidd
|
2009-07-17 15:52:45 +02:00
|
|
|
install -m 644 %{SOURCE51} $RPM_BUILD_ROOT/etc/blkid.conf
|
2009-07-03 17:12:19 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
2009-04-18 14:05:54 +02:00
|
|
|
cp adjtimex-*/adjtimex %{buildroot}/sbin/
|
2006-12-19 00:18:10 +01:00
|
|
|
cp adjtimex-*/adjtimex.8 %{buildroot}%{_mandir}/man8/
|
|
|
|
pushd ..
|
|
|
|
# which install
|
|
|
|
cd which-%{which_ver}
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/which
|
|
|
|
install -m 0644 README $RPM_BUILD_ROOT%{_defaultdocdir}/which/
|
|
|
|
install -m 0644 EXAMPLES $RPM_BUILD_ROOT%{_defaultdocdir}/which/
|
|
|
|
install -m 0644 README.alias $RPM_BUILD_ROOT%{_defaultdocdir}/which/
|
|
|
|
cd ..
|
|
|
|
# time install
|
|
|
|
cd time-%{time_ver}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/time
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT \
|
|
|
|
prefix=$RPM_BUILD_ROOT/usr \
|
|
|
|
infodir=$RPM_BUILD_ROOT%{_infodir} \
|
|
|
|
mandir=$RPM_BUILD_ROOT%{_mandir}
|
|
|
|
install -m 0644 README $RPM_BUILD_ROOT%{_defaultdocdir}/time/
|
|
|
|
install -m 0644 AUTHORS $RPM_BUILD_ROOT%{_defaultdocdir}/time/
|
|
|
|
install -m 0644 COPYING $RPM_BUILD_ROOT%{_defaultdocdir}/time/
|
|
|
|
install -m 0644 NEWS $RPM_BUILD_ROOT%{_defaultdocdir}/time/
|
|
|
|
cd ..
|
2006-12-19 00:18:10 +01:00
|
|
|
# klogconsole install
|
2006-12-19 00:18:10 +01:00
|
|
|
cd klogconsole
|
|
|
|
make install DEST=$RPM_BUILD_ROOT
|
2006-12-19 00:18:10 +01:00
|
|
|
popd
|
2007-04-12 18:31:42 +02:00
|
|
|
#
|
2006-12-19 00:18:10 +01:00
|
|
|
# util-linux install
|
2007-04-12 18:31:42 +02:00
|
|
|
#
|
2006-12-19 00:18:10 +01:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
mv $RPM_BUILD_ROOT/usr/bin/logger $RPM_BUILD_ROOT/bin/logger
|
2007-04-12 18:31:42 +02:00
|
|
|
install -m 644 %{SOURCE6} $RPM_BUILD_ROOT/etc/filesystems
|
2006-12-19 00:18:10 +01:00
|
|
|
install -m 755 nologin $RPM_BUILD_ROOT/sbin
|
2009-07-17 15:52:45 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libblkid.la
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libuuid.la
|
2010-07-30 12:35:45 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libmount.la
|
2006-12-19 00:18:10 +01:00
|
|
|
%ifnarch ppc ppc64
|
2006-12-19 00:18:10 +01:00
|
|
|
install -m 755 mkzimage_cmdline $RPM_BUILD_ROOT/usr/bin
|
|
|
|
install -m 644 %{S:28} $RPM_BUILD_ROOT%{_mandir}/man8
|
2008-11-21 15:54:57 +01:00
|
|
|
install -m 755 chrp-addnote $RPM_BUILD_ROOT/usr/bin
|
2006-12-19 00:18:10 +01:00
|
|
|
%endif
|
2006-12-19 00:18:10 +01:00
|
|
|
install -m 644 nologin.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
2006-12-19 00:18:10 +01:00
|
|
|
# setctsid install
|
2006-12-19 00:18:10 +01:00
|
|
|
install -m 755 setctsid $RPM_BUILD_ROOT/usr/sbin
|
|
|
|
install -m 444 setctsid.8 $RPM_BUILD_ROOT%{_mandir}/man8/
|
|
|
|
echo -e "#! /bin/bash\n/sbin/blockdev --flushbufs \$1" > $RPM_BUILD_ROOT/usr/sbin/flushb
|
|
|
|
chmod 755 $RPM_BUILD_ROOT/usr/sbin/flushb
|
2006-12-19 00:18:10 +01:00
|
|
|
# Install scripts to configure raw devices at boot time
|
2006-12-19 00:18:10 +01:00
|
|
|
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
|
2006-12-19 00:18:10 +01:00
|
|
|
# Stupid hack so we don't have a tcsh dependency
|
2008-11-21 15:54:57 +01:00
|
|
|
chmod 644 $RPM_BUILD_ROOT/usr/share/getopt/getopt*.tcsh
|
2006-12-19 00:18:10 +01:00
|
|
|
# Following files we don't want to package, so remove them
|
|
|
|
rm -f $RPM_BUILD_ROOT/usr/bin/pg
|
|
|
|
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/pg.1*
|
2007-06-07 13:16:42 +02:00
|
|
|
# Do not package these files to get rid of the perl dependency
|
|
|
|
rm -f $RPM_BUILD_ROOT/usr/bin/chkdupexe
|
|
|
|
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/chkdupexe.1
|
|
|
|
# arch dependent
|
2006-12-19 00:18:10 +01:00
|
|
|
%ifarch s390 s390x
|
2006-12-19 00:18:10 +01:00
|
|
|
rm -f $RPM_BUILD_ROOT/etc/fdprm
|
|
|
|
rm -f $RPM_BUILD_ROOT/usr/bin/cytune
|
2008-06-26 00:34:31 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT/usr/sbin/fdformat
|
2006-12-19 00:18:10 +01:00
|
|
|
rm -f $RPM_BUILD_ROOT/sbin/hwclock
|
|
|
|
rm -f $RPM_BUILD_ROOT/usr/sbin/klogconsole
|
|
|
|
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/tunelp.8*
|
2006-12-19 00:18:10 +01:00
|
|
|
%endif
|
2009-12-04 09:56:26 +01:00
|
|
|
%ifarch ia64 %sparc
|
2006-12-19 00:18:10 +01:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/cfdisk.8*
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/sfdisk.8*
|
|
|
|
rm -f $RPM_BUILD_ROOT/sbin/cfdisk
|
|
|
|
rm -f $RPM_BUILD_ROOT/sbin/sfdisk
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
%endif
|
2006-12-19 00:18:10 +01:00
|
|
|
%ifarch ia64
|
|
|
|
rm -f $RPM_BUILD_ROOT/sbin/fdisk
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/fdisk.8*
|
Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:
1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:
%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif
2)
You also need to make symlinks to util-linux-systemd and python-libmount.
And finally, this package is intended only for > 1310 (i. e. Factory).
3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set
There is false error and I have no work-around for this just now.
(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)
- Update to version 2.25
(using work of Ruediger Meier <sweet_f_a@gmx.de>):
* based on the git master branch of util-linux
* many fixes (including bnc#869355, bnc#871951 and
bnc#871698#c49)
* new Python binding sub-package for libmount: python-libmount
* new library: libsmartcols
* new commands: lslogins, setpriv
* add fstrim systemd timer
* better systemd integration
* DROPPED command:
* cytune: Upstream decided to remove tool untested for years
that supports this old hardware.
- Dropped patches included in the upstream:
(*git) Included with no changes
(+git) Included with improvements
(!git) Included with differences
* support-other-tty-lines-not-vconsole.patch (*b9c7390)
* agetty-fooled-on-serial-line-due-plymouth.patch,
* sulogin-fooled-on-tty-line-due-plymouth.patch (*bb280f7)
* agetty-on-s390-on-dev-3270-tty1-line.patch (*f2bcda5)
* sulogin-does-not-find-any-console.patch (*624b204)
* util-linux-setarch-uname26.patch (*f6eb160)
* util-linux-ng-2.16-squashfs3-detect.patch (*11402f5)
* util-linux-lscpu-improve-hypervisor-detection.patch
(!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
hypervisor, as it breaks standard behavior. Use standard output
instead! (FATE#310255)
* blkid-stop-scanning-on-I-O-error.patch (+296d96e)
* blkid-convert-superblocks-to-new-calling-convention.patch
(+37f4060)
* util-linux-libblkid-ext-probe.patch (*a1ca32f)
* util-linux-hwclock-drift-check.patch (*f196fd1)
* util-linux-hwclock-adjtime-check.patch (*db8fc5f)
- Dropped obsolete patch:
* util-linux-2.23.1-eject-fpie.patch (eject is no more SUID)
* util-linux-2.24-fdisk_remove_bogus_warnings.patch
(upstream fixed it in a different way)
* util-linux-HACK-boot.localfs.diff
(MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
* util-linux-2.23.1-noenc-suse.diff
-> util-linux-noenc-suse.patch
- Split spec file to three stages:
* util-linux.spec: Everything that do not need python or systemd.
* util-linux-systemd.spec: Stuff that needs systemd:
util-linux-systemd and uuidd
NOTE: Not building systemd-less variants of utilities.
* python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
(bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)
OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 11:54:57 +02:00
|
|
|
%endif
|
2007-07-05 13:24:26 +02:00
|
|
|
%find_lang %{name}-ng %{name}.lang
|
2009-07-03 17:12:19 +02:00
|
|
|
# create list of setarch(8) symlinks
|
|
|
|
find $RPM_BUILD_ROOT%{_bindir}/ -regextype posix-egrep -type l \
|
2010-06-25 20:44:47 +02:00
|
|
|
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|parisc|parisc32|parisc64)$" \
|
2009-07-03 17:12:19 +02:00
|
|
|
-printf "%{_bindir}/%f\n" >> %{name}.files
|
|
|
|
find $RPM_BUILD_ROOT%{_mandir}/man8 -regextype posix-egrep \
|
2010-06-25 20:44:47 +02:00
|
|
|
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|parisc|parisc32|parisc64)\.8.*" \
|
2009-07-03 17:12:19 +02:00
|
|
|
-printf "%{_mandir}/man8/%f*\n" >> %{name}.files
|
2006-12-19 00:18:10 +01:00
|
|
|
|
2006-12-19 00:18:10 +01:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2017-02-07 21:47:46 +01:00
|
|
|
|
2006-12-19 00:18:10 +01:00
|
|
|
%post
|
2008-08-18 22:57:09 +02:00
|
|
|
%{fillup_and_insserv raw}
|
2006-12-19 00:18:10 +01:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/ipc.info.gz
|
|
|
|
%install_info --entry="* time: (time). summarizing used system resources" --info-dir=%{_infodir} %{_infodir}/time.info.gz
|
2009-02-09 01:28:08 +01:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/which.info.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%run_permissions
|
|
|
|
# mount option 'code=' is now called 'codepage=' so change fstab
|
|
|
|
if [ -f etc/fstab ]; then
|
|
|
|
sed -i 's:code=:codepage=:' etc/fstab
|
|
|
|
fi
|
2017-02-07 21:47:46 +01:00
|
|
|
|
2006-12-19 00:18:10 +01:00
|
|
|
%postun
|
2006-12-19 00:18:10 +01:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/ipc.info.gz
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/time.info.gz
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/which.info.gz
|
|
|
|
%{insserv_cleanup}
|
2006-12-19 00:18:10 +01:00
|
|
|
%verifyscript
|
2006-12-19 00:18:10 +01:00
|
|
|
%verify_permissions -e /usr/bin/wall -e /usr/bin/write
|
2009-07-03 17:12:19 +02:00
|
|
|
|
2009-07-03 17:12:19 +02:00
|
|
|
%post -n libblkid1
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libblkid1
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
2010-07-30 12:35:45 +02:00
|
|
|
%post -n libmount1
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libmount1
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
2009-07-03 17:12:19 +02:00
|
|
|
%pre -n uuidd
|
|
|
|
/usr/sbin/groupadd -r uuidd 2>/dev/null || :
|
|
|
|
/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
|
|
|
|
-d /var/run/uuidd uuidd 2>/dev/null || :
|
|
|
|
|
|
|
|
%preun -n uuidd
|
|
|
|
%{stop_on_removal uuidd}
|
|
|
|
|
|
|
|
%post -n uuidd
|
|
|
|
%{fillup_and_insserv -n uuidd}
|
|
|
|
%run_permissions
|
|
|
|
|
|
|
|
%postun -n uuidd
|
|
|
|
%{restart_on_update uuidd}
|
|
|
|
%{insserv_cleanup}
|
|
|
|
|
|
|
|
%post -n libuuid1
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libuuid1
|
|
|
|
/sbin/ldconfig
|
|
|
|
%verifyscript -n uuidd
|
|
|
|
%verify_permissions -e /usr/sbin/uuidd
|
|
|
|
|
2008-03-27 23:24:22 +01:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2009-07-03 17:12:19 +02:00
|
|
|
%files -f %{name}.files
|
2006-12-19 00:18:10 +01:00
|
|
|
# Common files for all archs
|
|
|
|
%defattr(-,root,root)
|
2006-12-19 00:18:10 +01:00
|
|
|
%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
|
2007-04-12 18:31:42 +02:00
|
|
|
%doc misc-utils/README.namei2
|
2006-12-19 00:18:10 +01:00
|
|
|
%doc mount/README.mount
|
|
|
|
%doc hwclock/README.hwclock
|
|
|
|
%doc text-utils/README.col
|
|
|
|
%doc README.largedisk
|
|
|
|
%config %attr(744,root,root) /etc/init.d/raw
|
|
|
|
%config(noreplace) %attr(644,root,root) /etc/raw
|
2007-07-05 19:13:28 +02:00
|
|
|
%config(noreplace) /etc/filesystems
|
2009-07-17 15:52:45 +02:00
|
|
|
%config(noreplace) /etc/blkid.conf
|
2006-12-19 00:18:10 +01:00
|
|
|
/bin/dmesg
|
|
|
|
/bin/more
|
|
|
|
/bin/mount
|
|
|
|
/bin/umount
|
2010-07-30 12:35:45 +02:00
|
|
|
/bin/findmnt
|
2009-04-18 14:05:54 +02:00
|
|
|
/sbin/adjtimex
|
2006-12-19 00:18:10 +01:00
|
|
|
/sbin/agetty
|
|
|
|
/sbin/blockdev
|
2006-12-19 00:18:10 +01:00
|
|
|
/sbin/elvtune
|
2006-12-19 00:18:10 +01:00
|
|
|
/sbin/ctrlaltdel
|
|
|
|
/sbin/fsck.minix
|
|
|
|
/sbin/fsck.cramfs
|
|
|
|
/sbin/losetup
|
|
|
|
/sbin/mkfs
|
|
|
|
/sbin/mkfs.bfs
|
|
|
|
/sbin/mkfs.minix
|
|
|
|
/sbin/mkfs.cramfs
|
|
|
|
/sbin/mkswap
|
|
|
|
/sbin/nologin
|
|
|
|
/sbin/pivot_root
|
2007-04-12 18:31:42 +02:00
|
|
|
/sbin/raw
|
2006-12-19 00:18:10 +01:00
|
|
|
/sbin/swapoff
|
|
|
|
/sbin/swapon
|
2009-07-03 17:12:19 +02:00
|
|
|
/sbin/blkid
|
|
|
|
/sbin/findfs
|
|
|
|
/sbin/fsck
|
|
|
|
/sbin/switch_root
|
2010-02-25 11:23:43 +01:00
|
|
|
/sbin/wipefs
|
2010-07-30 12:35:45 +02:00
|
|
|
/sbin/fsfreeze
|
|
|
|
/sbin/swaplabel
|
2009-07-03 17:12:19 +02:00
|
|
|
/usr/bin/ipcmk
|
2006-12-19 00:18:10 +01:00
|
|
|
/bin/logger
|
|
|
|
/usr/bin/cal
|
|
|
|
/usr/bin/chrt
|
|
|
|
/usr/bin/col
|
|
|
|
/usr/bin/colcrt
|
|
|
|
/usr/bin/colrm
|
|
|
|
/usr/bin/column
|
|
|
|
/usr/bin/ddate
|
2010-02-25 11:23:43 +01:00
|
|
|
/usr/bin/fallocate
|
2006-12-19 00:18:10 +01:00
|
|
|
/usr/bin/flock
|
|
|
|
/usr/bin/getopt
|
|
|
|
/usr/bin/hexdump
|
|
|
|
/usr/bin/ionice
|
|
|
|
/usr/bin/ipcrm
|
|
|
|
/usr/bin/ipcs
|
|
|
|
/usr/bin/isosize
|
|
|
|
/usr/bin/line
|
|
|
|
/usr/bin/look
|
2008-10-08 18:42:45 +02:00
|
|
|
/usr/bin/lscpu
|
2006-12-19 00:18:10 +01:00
|
|
|
/usr/bin/mcookie
|
|
|
|
/usr/bin/mesg
|
2009-07-03 17:12:19 +02:00
|
|
|
/usr/bin/uuidgen
|
2012-03-13 13:38:21 +01:00
|
|
|
%ifnarch ppc ppc64
|
2008-11-21 15:54:57 +01:00
|
|
|
/usr/bin/chrp-addnote
|
2006-12-19 00:18:10 +01:00
|
|
|
/usr/bin/mkzimage_cmdline
|
2017-06-19 18:44:47 +02:00
|
|
|
%endif
|
2006-12-19 00:18:10 +01:00
|
|
|
/usr/bin/namei
|
|
|
|
/usr/bin/rename
|
|
|
|
/usr/bin/renice
|
|
|
|
/usr/bin/rev
|
|
|
|
/usr/bin/script
|
2009-07-03 17:12:19 +02:00
|
|
|
/usr/bin/setarch
|
2008-06-26 00:34:31 +02:00
|
|
|
/usr/bin/scriptreplay
|
2006-12-19 00:18:10 +01:00
|
|
|
/usr/bin/setsid
|
|
|
|
/usr/bin/ul
|
|
|
|
/usr/bin/tailf
|
|
|
|
/usr/bin/taskset
|
|
|
|
/usr/bin/time
|
2010-02-25 11:23:43 +01:00
|
|
|
/usr/bin/unshare
|
2006-12-19 00:18:10 +01:00
|
|
|
/usr/bin/which
|
2007-04-12 18:31:42 +02:00
|
|
|
/usr/sbin/addpart
|
|
|
|
/usr/sbin/delpart
|
2009-04-18 14:05:54 +02:00
|
|
|
/usr/sbin/ldattach
|
2007-04-12 18:31:42 +02:00
|
|
|
/usr/sbin/partx
|
2009-04-18 14:05:54 +02:00
|
|
|
/usr/sbin/rcraw
|
2007-07-18 22:39:11 +02:00
|
|
|
/usr/sbin/rtcwake
|
2006-12-19 00:18:10 +01:00
|
|
|
/usr/sbin/setctsid
|
|
|
|
%verify(not mode) %attr(0755,root,tty) /usr/bin/wall
|
|
|
|
/usr/bin/whereis
|
|
|
|
%verify(not mode) %attr(0755,root,tty) /usr/bin/write
|
|
|
|
%dir %{_defaultdocdir}/time
|
|
|
|
%dir %{_defaultdocdir}/which
|
|
|
|
%{_defaultdocdir}/time/*
|
|
|
|
%{_defaultdocdir}/which/*
|
|
|
|
%{_infodir}/ipc.info.gz
|
|
|
|
%{_infodir}/time.info*.gz
|
|
|
|
%{_infodir}/which.info*.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/cal.1.gz
|
|
|
|
%{_mandir}/man1/chrt.1.gz
|
|
|
|
%{_mandir}/man1/col.1.gz
|
|
|
|
%{_mandir}/man1/colcrt.1.gz
|
|
|
|
%{_mandir}/man1/colrm.1.gz
|
|
|
|
%{_mandir}/man1/column.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/ddate.1.gz
|
2007-06-05 20:09:38 +02:00
|
|
|
%{_mandir}/man1/dmesg.1.gz
|
2010-02-25 11:23:43 +01:00
|
|
|
%{_mandir}/man1/fallocate.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/flock.1.gz
|
|
|
|
%{_mandir}/man1/getopt.1.gz
|
|
|
|
%{_mandir}/man1/hexdump.1.gz
|
2007-06-05 20:09:38 +02:00
|
|
|
%{_mandir}/man1/ipcrm.1.gz
|
|
|
|
%{_mandir}/man1/ipcs.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/line.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/logger.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/look.1.gz
|
2008-10-08 18:42:45 +02:00
|
|
|
%{_mandir}/man1/lscpu.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/mcookie.1.gz
|
|
|
|
%{_mandir}/man1/mesg.1.gz
|
|
|
|
%{_mandir}/man1/more.1.gz
|
|
|
|
%{_mandir}/man1/namei.1.gz
|
|
|
|
%{_mandir}/man1/ionice.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/readprofile.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/rename.1.gz
|
|
|
|
%{_mandir}/man1/rev.1.gz
|
2007-06-05 20:09:38 +02:00
|
|
|
%{_mandir}/man1/renice.1.gz
|
|
|
|
%{_mandir}/man1/setsid.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/script.1.gz
|
2008-06-26 00:34:31 +02:00
|
|
|
%{_mandir}/man1/scriptreplay.1.gz
|
2007-04-12 18:31:42 +02:00
|
|
|
%{_mandir}/man1/setterm.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/tailf.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/taskset.1.gz
|
|
|
|
%{_mandir}/man1/ul.1.gz
|
2010-02-25 11:23:43 +01:00
|
|
|
%{_mandir}/man1/unshare.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/wall.1.gz
|
|
|
|
%{_mandir}/man1/whereis.1.gz
|
|
|
|
%{_mandir}/man1/write.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man1/which.1.gz
|
2009-07-03 17:12:19 +02:00
|
|
|
%{_mandir}/man1/ipcmk.1.gz
|
|
|
|
%{_mandir}/man1/uuidgen.1.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man5/fstab.5.gz
|
2007-04-12 18:31:42 +02:00
|
|
|
%{_mandir}/man8/addpart.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/agetty.8.gz
|
|
|
|
%{_mandir}/man8/blockdev.8.gz
|
2007-04-12 18:31:42 +02:00
|
|
|
%{_mandir}/man8/delpart.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/elvtune.8*
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/ctrlaltdel.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/adjtimex.8.gz
|
2009-07-03 17:12:19 +02:00
|
|
|
%{_mandir}/man8/blkid.8.gz
|
|
|
|
%{_mandir}/man8/switch_root.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/mkfs.bfs.8.gz
|
|
|
|
%{_mandir}/man8/mkfs.minix.8.gz
|
2009-07-03 17:12:19 +02:00
|
|
|
%{_mandir}/man8/findfs.8.gz
|
|
|
|
%{_mandir}/man8/fsck.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/fsck.minix.8.gz
|
|
|
|
%{_mandir}/man8/isosize.8.gz
|
2008-06-26 00:34:31 +02:00
|
|
|
%{_mandir}/man8/ldattach.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/losetup.8.gz
|
|
|
|
%{_mandir}/man8/mkfs.8.gz
|
|
|
|
%{_mandir}/man8/mkswap.8.gz
|
|
|
|
%{_mandir}/man8/mount.8.gz
|
|
|
|
%{_mandir}/man8/nologin.8.gz
|
2010-07-30 12:35:45 +02:00
|
|
|
%{_mandir}/man8/findmnt.8.gz
|
|
|
|
%{_mandir}/man8/fsfreeze.8.gz
|
|
|
|
%{_mandir}/man8/swaplabel.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%ifnarch ppc ppc64
|
|
|
|
%{_mandir}/man8/mkzimage_cmdline.8.gz
|
|
|
|
%endif
|
2007-04-12 18:31:42 +02:00
|
|
|
%{_mandir}/man8/partx.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/pivot_root.8.gz
|
|
|
|
%{_mandir}/man8/raw.8.gz
|
2007-07-18 22:39:11 +02:00
|
|
|
%{_mandir}/man8/rtcwake.8.gz
|
2009-07-03 17:12:19 +02:00
|
|
|
%{_mandir}/man8/setarch.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/swapoff.8.gz
|
|
|
|
%{_mandir}/man8/swapon.8.gz
|
|
|
|
%{_mandir}/man8/umount.8.gz
|
|
|
|
%{_mandir}/man8/setctsid.8.gz
|
2010-02-25 11:23:43 +01:00
|
|
|
%{_mandir}/man8/wipefs.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
/usr/sbin/flushb
|
|
|
|
/usr/sbin/readprofile
|
2007-04-12 18:31:42 +02:00
|
|
|
%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
|
2006-12-19 00:18:10 +01:00
|
|
|
%ifnarch ia64
|
|
|
|
%doc fdisk/README.fdisk
|
2006-12-19 00:18:10 +01:00
|
|
|
/sbin/fdisk
|
|
|
|
%{_mandir}/man8/fdisk.8.gz
|
|
|
|
%endif
|
2009-12-04 09:56:26 +01:00
|
|
|
%ifnarch %sparc ia64
|
2006-12-19 00:18:10 +01:00
|
|
|
%doc fdisk/README.cfdisk
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/cfdisk.8.gz
|
|
|
|
%{_mandir}/man8/sfdisk.8.gz
|
|
|
|
/sbin/cfdisk
|
|
|
|
/sbin/sfdisk
|
2006-12-19 00:18:10 +01:00
|
|
|
%endif
|
2006-12-19 00:18:10 +01:00
|
|
|
%ifnarch s390 s390x
|
2006-12-19 00:18:10 +01:00
|
|
|
/usr/bin/cytune
|
2008-06-26 00:34:31 +02:00
|
|
|
/usr/sbin/fdformat
|
2006-12-19 00:18:10 +01:00
|
|
|
/sbin/hwclock
|
2006-12-19 00:18:10 +01:00
|
|
|
/usr/sbin/klogconsole
|
|
|
|
/usr/bin/setterm
|
|
|
|
/usr/sbin/tunelp
|
|
|
|
%{_mandir}/man8/cytune.8.gz
|
2006-12-19 00:18:10 +01:00
|
|
|
%{_mandir}/man8/fdformat.8.gz
|
|
|
|
%{_mandir}/man8/hwclock.8.gz
|
|
|
|
%{_mandir}/man8/klogconsole.8.gz
|
|
|
|
%{_mandir}/man8/tunelp.8.gz
|
|
|
|
%endif
|
2008-02-10 18:13:34 +01:00
|
|
|
|
2009-07-03 17:12:19 +02:00
|
|
|
%files -n libblkid1
|
|
|
|
%defattr(-, root, root)
|
|
|
|
/%{_lib}/libblkid.so.1
|
|
|
|
/%{_lib}/libblkid.so.1.*
|
|
|
|
|
|
|
|
%files -n libblkid-devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libblkid.so
|
|
|
|
%dir %{_includedir}/blkid
|
|
|
|
%{_includedir}/blkid/blkid.h
|
|
|
|
%_libdir/pkgconfig/blkid.pc
|
|
|
|
%{_mandir}/man3/libblkid.3.gz
|
|
|
|
|
2010-07-30 12:35:45 +02:00
|
|
|
%files -n libmount1
|
|
|
|
%defattr(-, root, root)
|
|
|
|
/%{_lib}/libmount.so.1
|
|
|
|
/%{_lib}/libmount.so.1.*
|
|
|
|
|
|
|
|
%files -n libmount-devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libmount.so
|
|
|
|
%dir %{_includedir}/mount
|
|
|
|
%{_includedir}/mount/mount.h
|
|
|
|
%_libdir/pkgconfig/mount.pc
|
|
|
|
|
2009-07-03 17:12:19 +02:00
|
|
|
%files -n uuidd
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%verify(not mode) %attr(0755,root,root) /usr/sbin/uuidd
|
|
|
|
%attr(-,uuidd,uuidd) %dir /var/lib/libuuid
|
2010-10-08 01:10:52 +02:00
|
|
|
%attr(-,uuidd,uuidd) %ghost %dir /var/run/uuidd
|
2009-07-03 17:12:19 +02:00
|
|
|
/etc/init.d/uuidd
|
|
|
|
%{_mandir}/man8/uuidd.8.gz
|
|
|
|
|
|
|
|
%files -n libuuid1
|
|
|
|
%defattr(-, root, root)
|
|
|
|
/%{_lib}/libuuid.so.1
|
|
|
|
/%{_lib}/libuuid.so.1.*
|
|
|
|
|
|
|
|
%files -n libuuid-devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libuuid.so
|
|
|
|
%dir %{_includedir}/uuid
|
|
|
|
%{_includedir}/uuid/uuid.h
|
|
|
|
%_libdir/pkgconfig/uuid.pc
|
|
|
|
%{_mandir}/man3/uuid*
|
|
|
|
|
2007-03-01 21:08:53 +01:00
|
|
|
%changelog
|