|
|
@ -1,22 +1,21 @@
|
|
|
|
### Header
|
|
|
|
### Header
|
|
|
|
Summary: Collection of basic system utilities
|
|
|
|
Summary: A collection of basic system utilities
|
|
|
|
Name: util-linux
|
|
|
|
Name: util-linux
|
|
|
|
Version: 2.39
|
|
|
|
Version: 2.36.1
|
|
|
|
Release: 0.5%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
|
|
|
|
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
|
|
|
|
URL: https://en.wikipedia.org/wiki/Util-linux
|
|
|
|
URL: http://en.wikipedia.org/wiki/Util-linux
|
|
|
|
|
|
|
|
|
|
|
|
### Macros
|
|
|
|
### Macros
|
|
|
|
%global upstream_version %{version}-rc3
|
|
|
|
%define upstream_version %{version}
|
|
|
|
%global upstream_major %(eval echo %{version} | sed -e 's/\([[:digit:]]*\)\.\([[:digit:]]*\)\.[[:digit:]]*$/\1.\2/')
|
|
|
|
%define upstream_major %(eval echo %{version} | %{__sed} -e 's/\([[:digit:]]*\)\.\([[:digit:]]*\)\.[[:digit:]]*$/\1.\2/')
|
|
|
|
|
|
|
|
|
|
|
|
%global compldir %{_datadir}/bash-completion/completions/
|
|
|
|
%define compldir %{_datadir}/bash-completion/completions/
|
|
|
|
|
|
|
|
|
|
|
|
%global pypkg python3
|
|
|
|
%define pypkg python3
|
|
|
|
%global pyver 3
|
|
|
|
%define pyver 3
|
|
|
|
|
|
|
|
|
|
|
|
### Dependencies
|
|
|
|
### Dependencies
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: audit-libs-devel >= 1.0.6
|
|
|
|
BuildRequires: audit-libs-devel >= 1.0.6
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
@ -26,29 +25,29 @@ BuildRequires: pam-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: popt-devel
|
|
|
|
BuildRequires: popt-devel
|
|
|
|
BuildRequires: libutempter-devel
|
|
|
|
BuildRequires: libutempter-devel
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
Buildrequires: systemd-devel
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: libuser-devel
|
|
|
|
Buildrequires: libuser-devel
|
|
|
|
BuildRequires: libcap-ng-devel
|
|
|
|
BuildRequires: libcap-ng-devel
|
|
|
|
BuildRequires: %{pypkg}-devel
|
|
|
|
BuildRequires: %{pypkg}-devel
|
|
|
|
|
|
|
|
BuildRequires: pcre2-devel
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: rubygem-asciidoctor
|
|
|
|
|
|
|
|
%ifarch ppc64le
|
|
|
|
%ifarch ppc64le
|
|
|
|
BuildRequires: librtas-devel
|
|
|
|
BuildRequires: librtas-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# enable if make changes to build-system
|
|
|
|
# enable if make changes to build-system
|
|
|
|
BuildRequires: autoconf
|
|
|
|
#BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
#BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
|
|
|
#BuildRequires: libtool
|
|
|
|
BuildRequires: bison
|
|
|
|
#BuildRequires: bison
|
|
|
|
|
|
|
|
|
|
|
|
### Sources
|
|
|
|
### Sources
|
|
|
|
Source0: https://www.kernel.org/pub/linux/utils/util-linux/v%{upstream_major}/util-linux-%{upstream_version}.tar.xz
|
|
|
|
Source0: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v%{upstream_major}/util-linux-%{upstream_version}.tar.xz
|
|
|
|
Source1: util-linux-login.pamd
|
|
|
|
Source1: util-linux-login.pamd
|
|
|
|
Source2: util-linux-remote.pamd
|
|
|
|
Source2: util-linux-remote.pamd
|
|
|
|
Source3: util-linux-chsh-chfn.pamd
|
|
|
|
Source3: util-linux-chsh-chfn.pamd
|
|
|
|
Source4: uuidd-tmpfiles.conf
|
|
|
|
Source4: util-linux-60-raw.rules
|
|
|
|
Source5: adjtime
|
|
|
|
Source5: adjtime
|
|
|
|
Source12: util-linux-su.pamd
|
|
|
|
Source12: util-linux-su.pamd
|
|
|
|
Source13: util-linux-su-l.pamd
|
|
|
|
Source13: util-linux-su-l.pamd
|
|
|
@ -66,15 +65,28 @@ Provides: eject = 2.1.6
|
|
|
|
# rfkill has been merged into util-linux v2.31
|
|
|
|
# rfkill has been merged into util-linux v2.31
|
|
|
|
Obsoletes: rfkill <= 0.5
|
|
|
|
Obsoletes: rfkill <= 0.5
|
|
|
|
Provides: rfkill = 0.5
|
|
|
|
Provides: rfkill = 0.5
|
|
|
|
|
|
|
|
# hardlink has been merged into util-linux v2.34
|
|
|
|
|
|
|
|
Obsoletes: hardlink <= 1:1.3-9
|
|
|
|
|
|
|
|
Provides: hardlink = 1:1.3-9
|
|
|
|
# sulogin, utmpdump merged into util-linux v2.22;
|
|
|
|
# sulogin, utmpdump merged into util-linux v2.22;
|
|
|
|
# last, lastb merged into util-linux v2.24
|
|
|
|
# last, lastb merged into util-linux v2.24
|
|
|
|
Conflicts: sysvinit-tools < 2.88-14
|
|
|
|
Conflicts: sysvinit-tools < 2.88-14
|
|
|
|
|
|
|
|
# old versions of e2fsprogs contain fsck, uuidgen
|
|
|
|
|
|
|
|
Conflicts: e2fsprogs < 1.41.8-5
|
|
|
|
# rename from util-linux-ng back to util-linux
|
|
|
|
# rename from util-linux-ng back to util-linux
|
|
|
|
Obsoletes: util-linux-ng < 2.19
|
|
|
|
Obsoletes: util-linux-ng < 2.19
|
|
|
|
Provides: util-linux-ng = %{version}-%{release}
|
|
|
|
Provides: util-linux-ng = %{version}-%{release}
|
|
|
|
Conflicts: filesystem < 3
|
|
|
|
Conflicts: filesystem < 3
|
|
|
|
Provides: /sbin/nologin
|
|
|
|
Provides: /bin/dmesg
|
|
|
|
|
|
|
|
Provides: /bin/kill
|
|
|
|
|
|
|
|
Provides: /bin/more
|
|
|
|
|
|
|
|
Provides: /bin/mount
|
|
|
|
|
|
|
|
Provides: /bin/umount
|
|
|
|
|
|
|
|
Provides: /sbin/blkid
|
|
|
|
|
|
|
|
Provides: /sbin/blockdev
|
|
|
|
Provides: /sbin/findfs
|
|
|
|
Provides: /sbin/findfs
|
|
|
|
|
|
|
|
Provides: /sbin/fsck
|
|
|
|
|
|
|
|
Provides: /sbin/nologin
|
|
|
|
|
|
|
|
|
|
|
|
Requires(post): coreutils
|
|
|
|
Requires(post): coreutils
|
|
|
|
Requires: pam >= 1.1.3-7, /etc/pam.d/system-auth
|
|
|
|
Requires: pam >= 1.1.3-7, /etc/pam.d/system-auth
|
|
|
@ -84,51 +96,23 @@ Requires: libblkid = %{version}-%{release}
|
|
|
|
Requires: libmount = %{version}-%{release}
|
|
|
|
Requires: libmount = %{version}-%{release}
|
|
|
|
Requires: libsmartcols = %{version}-%{release}
|
|
|
|
Requires: libsmartcols = %{version}-%{release}
|
|
|
|
Requires: libfdisk = %{version}-%{release}
|
|
|
|
Requires: libfdisk = %{version}-%{release}
|
|
|
|
Requires: util-linux-core = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Ready for upstream?
|
|
|
|
### Ready for upstream?
|
|
|
|
###
|
|
|
|
###
|
|
|
|
# 151635 - makeing /var/log/lastlog
|
|
|
|
# 151635 - makeing /var/log/lastlog
|
|
|
|
Patch0: login-lastlog-create.patch
|
|
|
|
Patch0: 2.36-login-lastlog-create.patch
|
|
|
|
# Add `/run/motd.d` to the hardcoded MOTD_FILE
|
|
|
|
# usptream patch, https://github.com/karelzak/util-linux/issues/1193
|
|
|
|
# https://github.com/coreos/console-login-helper-messages/issues/60
|
|
|
|
Patch1: libmount-don-t-use-symfollow-for-helpers-on-user-mou.patch
|
|
|
|
Patch1: login-default-motd-file.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
The util-linux package contains a large variety of low-level system
|
|
|
|
The util-linux package contains a large variety of low-level system
|
|
|
|
utilities that are necessary for a Linux system to function. Among
|
|
|
|
utilities that are necessary for a Linux system to function. Among
|
|
|
|
others, util-linux contains the fdisk configuration tool and the login
|
|
|
|
others, Util-linux contains the fdisk configuration tool and the login
|
|
|
|
program.
|
|
|
|
program.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n util-linux-core
|
|
|
|
|
|
|
|
Summary: The most essential utilities from the util-linux suite
|
|
|
|
|
|
|
|
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
|
|
|
|
|
|
|
|
Provides: /bin/dmesg
|
|
|
|
|
|
|
|
Provides: /bin/kill
|
|
|
|
|
|
|
|
Provides: /bin/more
|
|
|
|
|
|
|
|
Provides: /bin/mount
|
|
|
|
|
|
|
|
Provides: /bin/umount
|
|
|
|
|
|
|
|
Provides: /sbin/blkid
|
|
|
|
|
|
|
|
Provides: /sbin/blockdev
|
|
|
|
|
|
|
|
Provides: /sbin/fsck
|
|
|
|
|
|
|
|
# hardlink has been merged into util-linux v2.34
|
|
|
|
|
|
|
|
Obsoletes: hardlink <= 1:1.3-9
|
|
|
|
|
|
|
|
Provides: hardlink = 1:1.3-9
|
|
|
|
|
|
|
|
Requires: libuuid = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: libblkid = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: libmount = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: libsmartcols = %{version}-%{release}
|
|
|
|
|
|
|
|
# old versions of e2fsprogs contain fsck, uuidgen
|
|
|
|
|
|
|
|
Conflicts: e2fsprogs < 1.41.8-5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n util-linux-core
|
|
|
|
|
|
|
|
This is a very basic set of Linux utilities that is necessary on
|
|
|
|
|
|
|
|
minimal installations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libfdisk
|
|
|
|
%package -n libfdisk
|
|
|
|
Summary: Partitioning library for fdisk-like programs
|
|
|
|
Summary: Partitioning library for fdisk-like programs.
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
|
|
|
|
|
|
|
|
%description -n libfdisk
|
|
|
|
%description -n libfdisk
|
|
|
@ -136,9 +120,9 @@ This is library for fdisk-like programs, part of util-linux.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libfdisk-devel
|
|
|
|
%package -n libfdisk-devel
|
|
|
|
Summary: Partitioning library for fdisk-like programs
|
|
|
|
Summary: Partitioning library for fdisk-like programs.
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
Requires: libfdisk%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libfdisk = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
%description -n libfdisk-devel
|
|
|
|
%description -n libfdisk-devel
|
|
|
@ -147,7 +131,7 @@ part of util-linux.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsmartcols
|
|
|
|
%package -n libsmartcols
|
|
|
|
Summary: Formatting library for ls-like programs
|
|
|
|
Summary: Formatting library for ls-like programs.
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
|
|
|
|
|
|
|
|
%description -n libsmartcols
|
|
|
|
%description -n libsmartcols
|
|
|
@ -155,9 +139,9 @@ This is library for ls-like terminal programs, part of util-linux.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsmartcols-devel
|
|
|
|
%package -n libsmartcols-devel
|
|
|
|
Summary: Formatting library for ls-like programs
|
|
|
|
Summary: Formatting library for ls-like programs.
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
Requires: libsmartcols%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libsmartcols = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
%description -n libsmartcols-devel
|
|
|
|
%description -n libsmartcols-devel
|
|
|
@ -168,8 +152,8 @@ part of util-linux.
|
|
|
|
%package -n libmount
|
|
|
|
%package -n libmount
|
|
|
|
Summary: Device mounting library
|
|
|
|
Summary: Device mounting library
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
Requires: libblkid%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libblkid = %{version}-%{release}
|
|
|
|
Requires: libuuid%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libuuid = %{version}-%{release}
|
|
|
|
Conflicts: filesystem < 3
|
|
|
|
Conflicts: filesystem < 3
|
|
|
|
|
|
|
|
|
|
|
|
%description -n libmount
|
|
|
|
%description -n libmount
|
|
|
@ -179,7 +163,7 @@ This is the device mounting library, part of util-linux.
|
|
|
|
%package -n libmount-devel
|
|
|
|
%package -n libmount-devel
|
|
|
|
Summary: Device mounting library
|
|
|
|
Summary: Device mounting library
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
Requires: libmount%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libmount = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
%description -n libmount-devel
|
|
|
|
%description -n libmount-devel
|
|
|
@ -190,8 +174,9 @@ part of util-linux.
|
|
|
|
%package -n libblkid
|
|
|
|
%package -n libblkid
|
|
|
|
Summary: Block device ID library
|
|
|
|
Summary: Block device ID library
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
Requires: libuuid%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libuuid = %{version}-%{release}
|
|
|
|
Conflicts: filesystem < 3
|
|
|
|
Conflicts: filesystem < 3
|
|
|
|
|
|
|
|
Requires(post): coreutils
|
|
|
|
|
|
|
|
|
|
|
|
%description -n libblkid
|
|
|
|
%description -n libblkid
|
|
|
|
This is block device identification library, part of util-linux.
|
|
|
|
This is block device identification library, part of util-linux.
|
|
|
@ -200,7 +185,7 @@ This is block device identification library, part of util-linux.
|
|
|
|
%package -n libblkid-devel
|
|
|
|
%package -n libblkid-devel
|
|
|
|
Summary: Block device ID library
|
|
|
|
Summary: Block device ID library
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
Requires: libblkid%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libblkid = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
%description -n libblkid-devel
|
|
|
|
%description -n libblkid-devel
|
|
|
@ -228,7 +213,7 @@ See also the "uuid" package, which is a separate implementation.
|
|
|
|
%package -n libuuid-devel
|
|
|
|
%package -n libuuid-devel
|
|
|
|
Summary: Universally unique ID library
|
|
|
|
Summary: Universally unique ID library
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
Requires: libuuid%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libuuid = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
%description -n libuuid-devel
|
|
|
|
%description -n libuuid-devel
|
|
|
@ -262,7 +247,7 @@ SMP systems.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{pypkg}-libmount
|
|
|
|
%package -n %{pypkg}-libmount
|
|
|
|
Summary: Python bindings for the libmount library
|
|
|
|
Summary: Python bindings for the libmount library
|
|
|
|
Requires: libmount%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libmount = %{version}-%{release}
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{pypkg}-libmount
|
|
|
|
%description -n %{pypkg}-libmount
|
|
|
@ -273,12 +258,12 @@ mountinfo, etc) and mount filesystems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n util-linux-user
|
|
|
|
%package -n util-linux-user
|
|
|
|
Summary: util-linux utilities based on libuser
|
|
|
|
Summary: libuser based util-linux utilities
|
|
|
|
Requires: util-linux = %{version}-%{release}
|
|
|
|
Requires: util-linux = %{version}-%{release}
|
|
|
|
License: GPLv2
|
|
|
|
License: GPLv2
|
|
|
|
|
|
|
|
|
|
|
|
%description -n util-linux-user
|
|
|
|
%description -n util-linux-user
|
|
|
|
chfn and chsh utilities with dependence on libuser.
|
|
|
|
chfn and chsh utilities with dependence on libuser
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
@ -287,10 +272,6 @@ chfn and chsh utilities with dependence on libuser.
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
unset LINGUAS || :
|
|
|
|
unset LINGUAS || :
|
|
|
|
|
|
|
|
|
|
|
|
# enable only when make a change to the build-system
|
|
|
|
|
|
|
|
#./autogen.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $RPM_OPT_FLAGS"
|
|
|
|
export CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $RPM_OPT_FLAGS"
|
|
|
|
export SUID_CFLAGS="-fpie"
|
|
|
|
export SUID_CFLAGS="-fpie"
|
|
|
|
export SUID_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
|
|
|
|
export SUID_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
|
|
|
@ -304,10 +285,8 @@ export DAEMON_LDFLAGS="$SUID_LDFLAGS"
|
|
|
|
--enable-chfn-chsh \
|
|
|
|
--enable-chfn-chsh \
|
|
|
|
--enable-usrdir-path \
|
|
|
|
--enable-usrdir-path \
|
|
|
|
--enable-write \
|
|
|
|
--enable-write \
|
|
|
|
--disable-raw \
|
|
|
|
--enable-raw \
|
|
|
|
--enable-hardlink \
|
|
|
|
--enable-hardlink \
|
|
|
|
--enable-fdformat \
|
|
|
|
|
|
|
|
--enable-asciidoc \
|
|
|
|
|
|
|
|
--with-python=%{pyver} \
|
|
|
|
--with-python=%{pyver} \
|
|
|
|
--with-systemd \
|
|
|
|
--with-systemd \
|
|
|
|
--with-udev \
|
|
|
|
--with-udev \
|
|
|
@ -321,7 +300,7 @@ export DAEMON_LDFLAGS="$SUID_LDFLAGS"
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# build util-linux
|
|
|
|
# build util-linux
|
|
|
|
%make_build
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
#to run tests use "--with check"
|
|
|
|
#to run tests use "--with check"
|
|
|
@ -331,17 +310,32 @@ make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,6,8,5}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,6,8,5}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/{pam.d,security/console.apps}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/{pam.d,security/console.apps}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}/tmpfiles.d
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/var/log
|
|
|
|
|
|
|
|
touch ${RPM_BUILD_ROOT}/var/log/lastlog
|
|
|
|
|
|
|
|
chmod 0644 ${RPM_BUILD_ROOT}/var/log/lastlog
|
|
|
|
|
|
|
|
|
|
|
|
# install util-linux
|
|
|
|
# install util-linux
|
|
|
|
%make_install
|
|
|
|
make install DESTDIR=${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# raw
|
|
|
|
|
|
|
|
echo '.so man8/raw.8' > $RPM_BUILD_ROOT%{_mandir}/man8/rawdevices.8
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
# see RH bugzilla #216664
|
|
|
|
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/lib/udev/rules.d
|
|
|
|
|
|
|
|
pushd ${RPM_BUILD_ROOT}%{_prefix}/lib/udev/rules.d
|
|
|
|
|
|
|
|
install -m 644 %{SOURCE4} ./60-raw.rules
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# sbin -> bin
|
|
|
|
|
|
|
|
mv ${RPM_BUILD_ROOT}%{_sbindir}/raw ${RPM_BUILD_ROOT}%{_bindir}/raw
|
|
|
|
|
|
|
|
|
|
|
|
# And a dirs uuidd needs that the makefiles don't create
|
|
|
|
# And a dirs uuidd needs that the makefiles don't create
|
|
|
|
install -m 644 %{SOURCE4} ${RPM_BUILD_ROOT}%{_tmpfilesdir}/uuidd.conf
|
|
|
|
|
|
|
|
install -d ${RPM_BUILD_ROOT}/run/uuidd
|
|
|
|
install -d ${RPM_BUILD_ROOT}/run/uuidd
|
|
|
|
install -d ${RPM_BUILD_ROOT}/var/lib/libuuid
|
|
|
|
install -d ${RPM_BUILD_ROOT}/var/lib/libuuid
|
|
|
|
|
|
|
|
|
|
|
@ -401,9 +395,9 @@ done
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# we install getopt-*.{bash,tcsh} by doc directive
|
|
|
|
# we install getopt-*.{bash,tcsh} by doc directive
|
|
|
|
#chmod 644 misc-utils/getopt-*.{bash,tcsh}
|
|
|
|
chmod 644 misc-utils/getopt-*.{bash,tcsh}
|
|
|
|
#rm -f ${RPM_BUILD_ROOT}%{_datadir}/doc/util-linux/getopt/*
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/doc/util-linux/getopt/*
|
|
|
|
#rmdir ${RPM_BUILD_ROOT}%{_datadir}/doc/util-linux/getopt
|
|
|
|
rmdir ${RPM_BUILD_ROOT}%{_datadir}/doc/util-linux/getopt
|
|
|
|
|
|
|
|
|
|
|
|
ln -sf ../proc/self/mounts %{buildroot}/etc/mtab
|
|
|
|
ln -sf ../proc/self/mounts %{buildroot}/etc/mtab
|
|
|
|
|
|
|
|
|
|
|
@ -428,6 +422,37 @@ find $RPM_BUILD_ROOT%{_mandir}/man8 -regextype posix-egrep \
|
|
|
|
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|uname26)\.8.*" \
|
|
|
|
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|uname26)\.8.*" \
|
|
|
|
-printf "%{_mandir}/man8/%f*\n" >> %{name}.files
|
|
|
|
-printf "%{_mandir}/man8/%f*\n" >> %{name}.files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
# only for minimal buildroots without /var/log
|
|
|
|
|
|
|
|
[ -d /var/log ] || mkdir -p /var/log
|
|
|
|
|
|
|
|
touch /var/log/lastlog
|
|
|
|
|
|
|
|
chown root:root /var/log/lastlog
|
|
|
|
|
|
|
|
chmod 0644 /var/log/lastlog
|
|
|
|
|
|
|
|
# Fix the file context, do not use restorecon
|
|
|
|
|
|
|
|
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
|
|
|
|
|
|
|
SECXT=$( /usr/sbin/matchpathcon -n /var/log/lastlog 2> /dev/null )
|
|
|
|
|
|
|
|
if [ -n "$SECXT" ]; then
|
|
|
|
|
|
|
|
# Selinux enabled, but without policy? It's true for buildroots
|
|
|
|
|
|
|
|
# without selinux stuff on host machine with enabled selinux.
|
|
|
|
|
|
|
|
# We don't want to use any RPM dependence on selinux policy for
|
|
|
|
|
|
|
|
# matchpathcon(2). SELinux policy should be optional.
|
|
|
|
|
|
|
|
/usr/bin/chcon "$SECXT" /var/log/lastlog >/dev/null 2>&1 || :
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -L /etc/mtab ]; then
|
|
|
|
|
|
|
|
ln -sf ../proc/self/mounts /etc/mtab || :
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -n libblkid
|
|
|
|
|
|
|
|
### Move blkid cache to /run
|
|
|
|
|
|
|
|
[ -d /run/blkid ] || mkdir -p /run/blkid
|
|
|
|
|
|
|
|
for I in /etc/blkid.tab /etc/blkid.tab.old \
|
|
|
|
|
|
|
|
/etc/blkid/blkid.tab /etc/blkid/blkid.tab.old; do
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -f "$I" ]; then
|
|
|
|
|
|
|
|
mv "$I" /run/blkid/ || :
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
%pre -n uuidd
|
|
|
|
%pre -n uuidd
|
|
|
|
getent group uuidd >/dev/null || groupadd -r uuidd
|
|
|
|
getent group uuidd >/dev/null || groupadd -r uuidd
|
|
|
@ -440,17 +465,14 @@ exit 0
|
|
|
|
# "systemctl preset" and it enable/disable service only.
|
|
|
|
# "systemctl preset" and it enable/disable service only.
|
|
|
|
%post -n uuidd
|
|
|
|
%post -n uuidd
|
|
|
|
%systemd_post uuidd.service
|
|
|
|
%systemd_post uuidd.service
|
|
|
|
if [ $1 -eq 1 ] && [ -x /usr/bin/systemctl ]; then
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
# install
|
|
|
|
|
|
|
|
/bin/systemctl start uuidd.service > /dev/null 2>&1 || :
|
|
|
|
/bin/systemctl start uuidd.service > /dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%preun -n uuidd
|
|
|
|
%preun -n uuidd
|
|
|
|
%systemd_preun uuidd.socket
|
|
|
|
|
|
|
|
%systemd_preun uuidd.service
|
|
|
|
%systemd_preun uuidd.service
|
|
|
|
|
|
|
|
|
|
|
|
%postun -n uuidd
|
|
|
|
%postun -n uuidd
|
|
|
|
%systemd_postun_with_restart uuidd.socket
|
|
|
|
|
|
|
|
%systemd_postun_with_restart uuidd.service
|
|
|
|
%systemd_postun_with_restart uuidd.service
|
|
|
|
|
|
|
|
|
|
|
|
%triggerpostun -- util-linux < 2.35.1-7
|
|
|
|
%triggerpostun -- util-linux < 2.35.1-7
|
|
|
@ -462,6 +484,7 @@ fi
|
|
|
|
%files -f %{name}.files
|
|
|
|
%files -f %{name}.files
|
|
|
|
%doc README NEWS AUTHORS
|
|
|
|
%doc README NEWS AUTHORS
|
|
|
|
%doc Documentation/deprecated.txt
|
|
|
|
%doc Documentation/deprecated.txt
|
|
|
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license Documentation/licenses/*
|
|
|
|
%license Documentation/licenses/*
|
|
|
|
%doc misc-utils/getopt-*.{bash,tcsh}
|
|
|
|
%doc misc-utils/getopt-*.{bash,tcsh}
|
|
|
|
|
|
|
|
|
|
|
@ -471,36 +494,51 @@ fi
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/su-l
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/su-l
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/runuser
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/runuser
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
|
|
|
|
|
|
|
|
%config(noreplace) %{_prefix}/lib/udev/rules.d/60-raw.rules
|
|
|
|
|
|
|
|
|
|
|
|
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/adjtime
|
|
|
|
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/adjtime
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%attr(4755,root,root) %{_bindir}/mount
|
|
|
|
|
|
|
|
%attr(4755,root,root) %{_bindir}/umount
|
|
|
|
%attr(4755,root,root) %{_bindir}/su
|
|
|
|
%attr(4755,root,root) %{_bindir}/su
|
|
|
|
%attr(755,root,root) %{_bindir}/login
|
|
|
|
%attr(755,root,root) %{_bindir}/login
|
|
|
|
%attr(2755,root,tty) %{_bindir}/write
|
|
|
|
%attr(2755,root,tty) %{_bindir}/write
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog
|
|
|
|
|
|
|
|
%ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/mtab
|
|
|
|
|
|
|
|
|
|
|
|
%{_unitdir}/fstrim.*
|
|
|
|
%{_unitdir}/fstrim.*
|
|
|
|
|
|
|
|
|
|
|
|
%{_bindir}/cal
|
|
|
|
%{_bindir}/cal
|
|
|
|
%{_bindir}/chmem
|
|
|
|
%{_bindir}/chmem
|
|
|
|
%{_bindir}/choom
|
|
|
|
%{_bindir}/choom
|
|
|
|
|
|
|
|
%{_bindir}/chrt
|
|
|
|
%{_bindir}/col
|
|
|
|
%{_bindir}/col
|
|
|
|
%{_bindir}/colcrt
|
|
|
|
%{_bindir}/colcrt
|
|
|
|
%{_bindir}/colrm
|
|
|
|
%{_bindir}/colrm
|
|
|
|
%{_bindir}/column
|
|
|
|
%{_bindir}/column
|
|
|
|
|
|
|
|
%{_bindir}/dmesg
|
|
|
|
%{_bindir}/eject
|
|
|
|
%{_bindir}/eject
|
|
|
|
%{_bindir}/fallocate
|
|
|
|
%{_bindir}/fallocate
|
|
|
|
%{_bindir}/fincore
|
|
|
|
%{_bindir}/fincore
|
|
|
|
%{_bindir}/fadvise
|
|
|
|
%{_bindir}/findmnt
|
|
|
|
|
|
|
|
%{_bindir}/flock
|
|
|
|
%{_bindir}/getopt
|
|
|
|
%{_bindir}/getopt
|
|
|
|
|
|
|
|
%{_bindir}/hardlink
|
|
|
|
%{_bindir}/hexdump
|
|
|
|
%{_bindir}/hexdump
|
|
|
|
|
|
|
|
%{_bindir}/ionice
|
|
|
|
|
|
|
|
%{_bindir}/ipcmk
|
|
|
|
|
|
|
|
%{_bindir}/ipcrm
|
|
|
|
|
|
|
|
%{_bindir}/ipcs
|
|
|
|
%{_bindir}/irqtop
|
|
|
|
%{_bindir}/irqtop
|
|
|
|
%{_bindir}/isosize
|
|
|
|
%{_bindir}/isosize
|
|
|
|
|
|
|
|
%{_bindir}/kill
|
|
|
|
%{_bindir}/last
|
|
|
|
%{_bindir}/last
|
|
|
|
%{_bindir}/lastb
|
|
|
|
%{_bindir}/lastb
|
|
|
|
|
|
|
|
%{_bindir}/logger
|
|
|
|
%{_bindir}/look
|
|
|
|
%{_bindir}/look
|
|
|
|
%{_bindir}/lsblk
|
|
|
|
%{_bindir}/lsblk
|
|
|
|
%{_bindir}/lscpu
|
|
|
|
%{_bindir}/lscpu
|
|
|
|
%{_bindir}/lsfd
|
|
|
|
|
|
|
|
%{_bindir}/lsipc
|
|
|
|
%{_bindir}/lsipc
|
|
|
|
%{_bindir}/lsirq
|
|
|
|
%{_bindir}/lsirq
|
|
|
|
%{_bindir}/lslocks
|
|
|
|
%{_bindir}/lslocks
|
|
|
@ -509,98 +547,125 @@ fi
|
|
|
|
%{_bindir}/lsns
|
|
|
|
%{_bindir}/lsns
|
|
|
|
%{_bindir}/mcookie
|
|
|
|
%{_bindir}/mcookie
|
|
|
|
%{_bindir}/mesg
|
|
|
|
%{_bindir}/mesg
|
|
|
|
|
|
|
|
%{_bindir}/more
|
|
|
|
|
|
|
|
%{_bindir}/mountpoint
|
|
|
|
%{_bindir}/namei
|
|
|
|
%{_bindir}/namei
|
|
|
|
%{_bindir}/pipesz
|
|
|
|
%{_bindir}/nsenter
|
|
|
|
%{_bindir}/prlimit
|
|
|
|
%{_bindir}/prlimit
|
|
|
|
|
|
|
|
%{_bindir}/raw
|
|
|
|
%{_bindir}/rename
|
|
|
|
%{_bindir}/rename
|
|
|
|
|
|
|
|
%{_bindir}/renice
|
|
|
|
%{_bindir}/rev
|
|
|
|
%{_bindir}/rev
|
|
|
|
%{_bindir}/script
|
|
|
|
%{_bindir}/script
|
|
|
|
%{_bindir}/scriptlive
|
|
|
|
%{_bindir}/scriptlive
|
|
|
|
%{_bindir}/scriptreplay
|
|
|
|
%{_bindir}/scriptreplay
|
|
|
|
%{_bindir}/setarch
|
|
|
|
%{_bindir}/setarch
|
|
|
|
%{_bindir}/setpriv
|
|
|
|
%{_bindir}/setpriv
|
|
|
|
|
|
|
|
%{_bindir}/setsid
|
|
|
|
%{_bindir}/setterm
|
|
|
|
%{_bindir}/setterm
|
|
|
|
%{_bindir}/uclampset
|
|
|
|
%{_bindir}/taskset
|
|
|
|
%{_bindir}/ul
|
|
|
|
%{_bindir}/ul
|
|
|
|
|
|
|
|
%{_bindir}/unshare
|
|
|
|
%{_bindir}/utmpdump
|
|
|
|
%{_bindir}/utmpdump
|
|
|
|
%{_bindir}/uuidgen
|
|
|
|
%{_bindir}/uuidgen
|
|
|
|
%{_bindir}/uuidparse
|
|
|
|
%{_bindir}/uuidparse
|
|
|
|
%{_bindir}/waitpid
|
|
|
|
|
|
|
|
%{_bindir}/wall
|
|
|
|
%{_bindir}/wall
|
|
|
|
%{_bindir}/wdctl
|
|
|
|
%{_bindir}/wdctl
|
|
|
|
%{_bindir}/whereis
|
|
|
|
%{_bindir}/whereis
|
|
|
|
%{_mandir}/man1/cal.1*
|
|
|
|
%{_mandir}/man1/cal.1*
|
|
|
|
%{_mandir}/man1/choom.1*
|
|
|
|
%{_mandir}/man1/choom.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/chrt.1*
|
|
|
|
%{_mandir}/man1/col.1*
|
|
|
|
%{_mandir}/man1/col.1*
|
|
|
|
%{_mandir}/man1/colcrt.1*
|
|
|
|
%{_mandir}/man1/colcrt.1*
|
|
|
|
%{_mandir}/man1/colrm.1*
|
|
|
|
%{_mandir}/man1/colrm.1*
|
|
|
|
%{_mandir}/man1/column.1*
|
|
|
|
%{_mandir}/man1/column.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/dmesg.1*
|
|
|
|
%{_mandir}/man1/eject.1*
|
|
|
|
%{_mandir}/man1/eject.1*
|
|
|
|
%{_mandir}/man1/fadvise.1.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/fallocate.1*
|
|
|
|
%{_mandir}/man1/fallocate.1*
|
|
|
|
%{_mandir}/man1/fincore.1*
|
|
|
|
%{_mandir}/man1/fincore.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/flock.1*
|
|
|
|
%{_mandir}/man1/getopt.1*
|
|
|
|
%{_mandir}/man1/getopt.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/hardlink.1*
|
|
|
|
%{_mandir}/man1/hexdump.1*
|
|
|
|
%{_mandir}/man1/hexdump.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/ionice.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/ipcmk.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/ipcrm.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/ipcs.1*
|
|
|
|
%{_mandir}/man1/irqtop.1*
|
|
|
|
%{_mandir}/man1/irqtop.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/kill.1*
|
|
|
|
%{_mandir}/man1/last.1*
|
|
|
|
%{_mandir}/man1/last.1*
|
|
|
|
%{_mandir}/man1/lastb.1*
|
|
|
|
%{_mandir}/man1/lastb.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/logger.1*
|
|
|
|
%{_mandir}/man1/login.1*
|
|
|
|
%{_mandir}/man1/login.1*
|
|
|
|
%{_mandir}/man1/look.1*
|
|
|
|
%{_mandir}/man1/look.1*
|
|
|
|
%{_mandir}/man1/lscpu.1*
|
|
|
|
%{_mandir}/man1/lscpu.1*
|
|
|
|
%{_mandir}/man1/lsfd.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/lsipc.1*
|
|
|
|
%{_mandir}/man1/lsipc.1*
|
|
|
|
%{_mandir}/man1/lsirq.1*
|
|
|
|
%{_mandir}/man1/lsirq.1*
|
|
|
|
%{_mandir}/man1/lslogins.1*
|
|
|
|
%{_mandir}/man1/lslogins.1*
|
|
|
|
%{_mandir}/man1/lsmem.1*
|
|
|
|
%{_mandir}/man1/lsmem.1*
|
|
|
|
%{_mandir}/man1/mcookie.1*
|
|
|
|
%{_mandir}/man1/mcookie.1*
|
|
|
|
%{_mandir}/man1/mesg.1*
|
|
|
|
%{_mandir}/man1/mesg.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/more.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/mountpoint.1*
|
|
|
|
%{_mandir}/man1/namei.1*
|
|
|
|
%{_mandir}/man1/namei.1*
|
|
|
|
%{_mandir}/man1/pipesz.1.*
|
|
|
|
%{_mandir}/man1/nsenter.1*
|
|
|
|
%{_mandir}/man1/prlimit.1*
|
|
|
|
%{_mandir}/man1/prlimit.1*
|
|
|
|
%{_mandir}/man1/rename.1*
|
|
|
|
%{_mandir}/man1/rename.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/renice.1*
|
|
|
|
%{_mandir}/man1/rev.1*
|
|
|
|
%{_mandir}/man1/rev.1*
|
|
|
|
%{_mandir}/man1/runuser.1*
|
|
|
|
%{_mandir}/man1/runuser.1*
|
|
|
|
%{_mandir}/man1/script.1*
|
|
|
|
%{_mandir}/man1/script.1*
|
|
|
|
%{_mandir}/man1/scriptlive.1*
|
|
|
|
%{_mandir}/man1/scriptlive.1*
|
|
|
|
%{_mandir}/man1/scriptreplay.1*
|
|
|
|
%{_mandir}/man1/scriptreplay.1*
|
|
|
|
%{_mandir}/man1/setpriv.1*
|
|
|
|
%{_mandir}/man1/setpriv.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/setsid.1*
|
|
|
|
%{_mandir}/man1/setterm.1*
|
|
|
|
%{_mandir}/man1/setterm.1*
|
|
|
|
%{_mandir}/man1/su.1*
|
|
|
|
%{_mandir}/man1/su.1*
|
|
|
|
%{_mandir}/man1/uclampset.1.*
|
|
|
|
%{_mandir}/man1/taskset.1*
|
|
|
|
%{_mandir}/man1/ul.1*
|
|
|
|
%{_mandir}/man1/ul.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/unshare.1*
|
|
|
|
%{_mandir}/man1/utmpdump.1.gz
|
|
|
|
%{_mandir}/man1/utmpdump.1.gz
|
|
|
|
%{_mandir}/man1/uuidgen.1*
|
|
|
|
%{_mandir}/man1/uuidgen.1*
|
|
|
|
%{_mandir}/man1/uuidparse.1*
|
|
|
|
%{_mandir}/man1/uuidparse.1*
|
|
|
|
%{_mandir}/man1/waitpid.1.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/wall.1*
|
|
|
|
%{_mandir}/man1/wall.1*
|
|
|
|
%{_mandir}/man1/whereis.1*
|
|
|
|
%{_mandir}/man1/whereis.1*
|
|
|
|
%{_mandir}/man1/write.1*
|
|
|
|
%{_mandir}/man1/write.1*
|
|
|
|
%{_mandir}/man5/fstab.5*
|
|
|
|
%{_mandir}/man5/fstab.5*
|
|
|
|
%{_mandir}/man5/terminal-colors.d.5*
|
|
|
|
%{_mandir}/man5/terminal-colors.d.5*
|
|
|
|
%{_mandir}/man8/addpart.8*
|
|
|
|
%{_mandir}/man8/addpart.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/agetty.8*
|
|
|
|
%{_mandir}/man8/blkdiscard.8*
|
|
|
|
%{_mandir}/man8/blkdiscard.8*
|
|
|
|
%{_mandir}/man8/blkpr.8.*
|
|
|
|
%{_mandir}/man8/blkid.8*
|
|
|
|
%{_mandir}/man8/blkzone.8*
|
|
|
|
%{_mandir}/man8/blkzone.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/blockdev.8*
|
|
|
|
%{_mandir}/man8/chcpu.8*
|
|
|
|
%{_mandir}/man8/chcpu.8*
|
|
|
|
%{_mandir}/man8/chmem.8*
|
|
|
|
%{_mandir}/man8/chmem.8*
|
|
|
|
%{_mandir}/man8/ctrlaltdel.8*
|
|
|
|
%{_mandir}/man8/ctrlaltdel.8*
|
|
|
|
%{_mandir}/man8/delpart.8*
|
|
|
|
%{_mandir}/man8/delpart.8*
|
|
|
|
%{_mandir}/man8/fdisk.8*
|
|
|
|
%{_mandir}/man8/fdisk.8*
|
|
|
|
%{_mandir}/man8/findfs.8*
|
|
|
|
%{_mandir}/man8/findfs.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/findmnt.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/fsck.8*
|
|
|
|
%{_mandir}/man8/fsck.cramfs.8*
|
|
|
|
%{_mandir}/man8/fsck.cramfs.8*
|
|
|
|
%{_mandir}/man8/fsck.minix.8*
|
|
|
|
%{_mandir}/man8/fsck.minix.8*
|
|
|
|
%{_mandir}/man8/fsfreeze.8*
|
|
|
|
%{_mandir}/man8/fsfreeze.8*
|
|
|
|
%{_mandir}/man8/fstrim.8*
|
|
|
|
%{_mandir}/man8/fstrim.8*
|
|
|
|
%{_mandir}/man8/isosize.8*
|
|
|
|
%{_mandir}/man8/isosize.8*
|
|
|
|
%{_mandir}/man8/ldattach.8*
|
|
|
|
%{_mandir}/man8/ldattach.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/losetup.8*
|
|
|
|
%{_mandir}/man8/lsblk.8*
|
|
|
|
%{_mandir}/man8/lsblk.8*
|
|
|
|
%{_mandir}/man8/lslocks.8*
|
|
|
|
%{_mandir}/man8/lslocks.8*
|
|
|
|
%{_mandir}/man8/lsns.8*
|
|
|
|
%{_mandir}/man8/lsns.8*
|
|
|
|
%{_mandir}/man8/mkfs.8*
|
|
|
|
%{_mandir}/man8/mkfs.8*
|
|
|
|
%{_mandir}/man8/mkfs.cramfs.8*
|
|
|
|
%{_mandir}/man8/mkfs.cramfs.8*
|
|
|
|
%{_mandir}/man8/mkfs.minix.8*
|
|
|
|
%{_mandir}/man8/mkfs.minix.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/mkswap.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/mount.8*
|
|
|
|
%{_mandir}/man8/nologin.8*
|
|
|
|
%{_mandir}/man8/nologin.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/partx.8*
|
|
|
|
%{_mandir}/man8/pivot_root.8*
|
|
|
|
%{_mandir}/man8/pivot_root.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/raw.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/rawdevices.8*
|
|
|
|
%{_mandir}/man8/readprofile.8*
|
|
|
|
%{_mandir}/man8/readprofile.8*
|
|
|
|
%{_mandir}/man8/resizepart.8*
|
|
|
|
%{_mandir}/man8/resizepart.8*
|
|
|
|
%{_mandir}/man8/rfkill.8*
|
|
|
|
%{_mandir}/man8/rfkill.8*
|
|
|
@ -608,27 +673,37 @@ fi
|
|
|
|
%{_mandir}/man8/setarch.8*
|
|
|
|
%{_mandir}/man8/setarch.8*
|
|
|
|
%{_mandir}/man8/sulogin.8.gz
|
|
|
|
%{_mandir}/man8/sulogin.8.gz
|
|
|
|
%{_mandir}/man8/swaplabel.8*
|
|
|
|
%{_mandir}/man8/swaplabel.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/swapoff.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/swapon.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/switch_root.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/umount.8*
|
|
|
|
%{_mandir}/man8/wdctl.8.gz
|
|
|
|
%{_mandir}/man8/wdctl.8.gz
|
|
|
|
%{_mandir}/man8/wipefs.8*
|
|
|
|
%{_mandir}/man8/wipefs.8*
|
|
|
|
%{_mandir}/man8/zramctl.8*
|
|
|
|
%{_mandir}/man8/zramctl.8*
|
|
|
|
%{_sbindir}/addpart
|
|
|
|
%{_sbindir}/addpart
|
|
|
|
|
|
|
|
%{_sbindir}/agetty
|
|
|
|
%{_sbindir}/blkdiscard
|
|
|
|
%{_sbindir}/blkdiscard
|
|
|
|
%{_sbindir}/blkpr
|
|
|
|
%{_sbindir}/blkid
|
|
|
|
%{_sbindir}/blkzone
|
|
|
|
%{_sbindir}/blkzone
|
|
|
|
|
|
|
|
%{_sbindir}/blockdev
|
|
|
|
%{_sbindir}/chcpu
|
|
|
|
%{_sbindir}/chcpu
|
|
|
|
%{_sbindir}/ctrlaltdel
|
|
|
|
%{_sbindir}/ctrlaltdel
|
|
|
|
%{_sbindir}/delpart
|
|
|
|
%{_sbindir}/delpart
|
|
|
|
%{_sbindir}/fdisk
|
|
|
|
%{_sbindir}/fdisk
|
|
|
|
%{_sbindir}/findfs
|
|
|
|
%{_sbindir}/findfs
|
|
|
|
|
|
|
|
%{_sbindir}/fsck
|
|
|
|
%{_sbindir}/fsck.cramfs
|
|
|
|
%{_sbindir}/fsck.cramfs
|
|
|
|
%{_sbindir}/fsck.minix
|
|
|
|
%{_sbindir}/fsck.minix
|
|
|
|
%{_sbindir}/fsfreeze
|
|
|
|
%{_sbindir}/fsfreeze
|
|
|
|
%{_sbindir}/fstrim
|
|
|
|
%{_sbindir}/fstrim
|
|
|
|
%{_sbindir}/ldattach
|
|
|
|
%{_sbindir}/ldattach
|
|
|
|
|
|
|
|
%{_sbindir}/losetup
|
|
|
|
%{_sbindir}/mkfs
|
|
|
|
%{_sbindir}/mkfs
|
|
|
|
%{_sbindir}/mkfs.cramfs
|
|
|
|
%{_sbindir}/mkfs.cramfs
|
|
|
|
%{_sbindir}/mkfs.minix
|
|
|
|
%{_sbindir}/mkfs.minix
|
|
|
|
|
|
|
|
%{_sbindir}/mkswap
|
|
|
|
%{_sbindir}/nologin
|
|
|
|
%{_sbindir}/nologin
|
|
|
|
|
|
|
|
%{_sbindir}/partx
|
|
|
|
%{_sbindir}/pivot_root
|
|
|
|
%{_sbindir}/pivot_root
|
|
|
|
%{_sbindir}/readprofile
|
|
|
|
%{_sbindir}/readprofile
|
|
|
|
%{_sbindir}/resizepart
|
|
|
|
%{_sbindir}/resizepart
|
|
|
@ -637,38 +712,53 @@ fi
|
|
|
|
%{_sbindir}/runuser
|
|
|
|
%{_sbindir}/runuser
|
|
|
|
%{_sbindir}/sulogin
|
|
|
|
%{_sbindir}/sulogin
|
|
|
|
%{_sbindir}/swaplabel
|
|
|
|
%{_sbindir}/swaplabel
|
|
|
|
|
|
|
|
%{_sbindir}/swapoff
|
|
|
|
|
|
|
|
%{_sbindir}/swapon
|
|
|
|
|
|
|
|
%{_sbindir}/switch_root
|
|
|
|
%{_sbindir}/wipefs
|
|
|
|
%{_sbindir}/wipefs
|
|
|
|
%{_sbindir}/zramctl
|
|
|
|
%{_sbindir}/zramctl
|
|
|
|
|
|
|
|
|
|
|
|
%{compldir}/addpart
|
|
|
|
%{compldir}/addpart
|
|
|
|
%{compldir}/blkdiscard
|
|
|
|
%{compldir}/blkdiscard
|
|
|
|
|
|
|
|
%{compldir}/blkid
|
|
|
|
%{compldir}/blkzone
|
|
|
|
%{compldir}/blkzone
|
|
|
|
|
|
|
|
%{compldir}/blockdev
|
|
|
|
%{compldir}/cal
|
|
|
|
%{compldir}/cal
|
|
|
|
%{compldir}/chcpu
|
|
|
|
%{compldir}/chcpu
|
|
|
|
%{compldir}/chmem
|
|
|
|
%{compldir}/chmem
|
|
|
|
|
|
|
|
%{compldir}/chrt
|
|
|
|
%{compldir}/col
|
|
|
|
%{compldir}/col
|
|
|
|
%{compldir}/colcrt
|
|
|
|
%{compldir}/colcrt
|
|
|
|
%{compldir}/colrm
|
|
|
|
%{compldir}/colrm
|
|
|
|
%{compldir}/column
|
|
|
|
%{compldir}/column
|
|
|
|
%{compldir}/ctrlaltdel
|
|
|
|
%{compldir}/ctrlaltdel
|
|
|
|
%{compldir}/delpart
|
|
|
|
%{compldir}/delpart
|
|
|
|
|
|
|
|
%{compldir}/dmesg
|
|
|
|
%{compldir}/eject
|
|
|
|
%{compldir}/eject
|
|
|
|
%{compldir}/fallocate
|
|
|
|
%{compldir}/fallocate
|
|
|
|
%{compldir}/fdisk
|
|
|
|
%{compldir}/fdisk
|
|
|
|
%{compldir}/fincore
|
|
|
|
%{compldir}/fincore
|
|
|
|
%{compldir}/findfs
|
|
|
|
%{compldir}/findfs
|
|
|
|
|
|
|
|
%{compldir}/findmnt
|
|
|
|
|
|
|
|
%{compldir}/flock
|
|
|
|
|
|
|
|
%{compldir}/fsck
|
|
|
|
%{compldir}/fsck.cramfs
|
|
|
|
%{compldir}/fsck.cramfs
|
|
|
|
%{compldir}/fsck.minix
|
|
|
|
%{compldir}/fsck.minix
|
|
|
|
%{compldir}/fsfreeze
|
|
|
|
%{compldir}/fsfreeze
|
|
|
|
%{compldir}/fstrim
|
|
|
|
%{compldir}/fstrim
|
|
|
|
%{compldir}/getopt
|
|
|
|
%{compldir}/getopt
|
|
|
|
%{compldir}/hexdump
|
|
|
|
%{compldir}/hexdump
|
|
|
|
|
|
|
|
%{compldir}/ionice
|
|
|
|
|
|
|
|
%{compldir}/ipcmk
|
|
|
|
|
|
|
|
%{compldir}/ipcrm
|
|
|
|
|
|
|
|
%{compldir}/ipcs
|
|
|
|
%{compldir}/irqtop
|
|
|
|
%{compldir}/irqtop
|
|
|
|
%{compldir}/isosize
|
|
|
|
%{compldir}/isosize
|
|
|
|
%{compldir}/last
|
|
|
|
%{compldir}/last
|
|
|
|
%{compldir}/lastb
|
|
|
|
|
|
|
|
%{compldir}/ldattach
|
|
|
|
%{compldir}/ldattach
|
|
|
|
|
|
|
|
%{compldir}/logger
|
|
|
|
%{compldir}/look
|
|
|
|
%{compldir}/look
|
|
|
|
|
|
|
|
%{compldir}/losetup
|
|
|
|
%{compldir}/lsblk
|
|
|
|
%{compldir}/lsblk
|
|
|
|
%{compldir}/lscpu
|
|
|
|
%{compldir}/lscpu
|
|
|
|
%{compldir}/lsipc
|
|
|
|
%{compldir}/lsipc
|
|
|
@ -682,12 +772,18 @@ fi
|
|
|
|
%{compldir}/mkfs
|
|
|
|
%{compldir}/mkfs
|
|
|
|
%{compldir}/mkfs.cramfs
|
|
|
|
%{compldir}/mkfs.cramfs
|
|
|
|
%{compldir}/mkfs.minix
|
|
|
|
%{compldir}/mkfs.minix
|
|
|
|
|
|
|
|
%{compldir}/mkswap
|
|
|
|
|
|
|
|
%{compldir}/more
|
|
|
|
|
|
|
|
%{compldir}/mountpoint
|
|
|
|
%{compldir}/namei
|
|
|
|
%{compldir}/namei
|
|
|
|
%{compldir}/pipesz
|
|
|
|
%{compldir}/nsenter
|
|
|
|
|
|
|
|
%{compldir}/partx
|
|
|
|
%{compldir}/pivot_root
|
|
|
|
%{compldir}/pivot_root
|
|
|
|
%{compldir}/prlimit
|
|
|
|
%{compldir}/prlimit
|
|
|
|
|
|
|
|
%{compldir}/raw
|
|
|
|
%{compldir}/readprofile
|
|
|
|
%{compldir}/readprofile
|
|
|
|
%{compldir}/rename
|
|
|
|
%{compldir}/rename
|
|
|
|
|
|
|
|
%{compldir}/renice
|
|
|
|
%{compldir}/resizepart
|
|
|
|
%{compldir}/resizepart
|
|
|
|
%{compldir}/rev
|
|
|
|
%{compldir}/rev
|
|
|
|
%{compldir}/rfkill
|
|
|
|
%{compldir}/rfkill
|
|
|
@ -698,11 +794,15 @@ fi
|
|
|
|
%{compldir}/scriptreplay
|
|
|
|
%{compldir}/scriptreplay
|
|
|
|
%{compldir}/setarch
|
|
|
|
%{compldir}/setarch
|
|
|
|
%{compldir}/setpriv
|
|
|
|
%{compldir}/setpriv
|
|
|
|
|
|
|
|
%{compldir}/setsid
|
|
|
|
%{compldir}/setterm
|
|
|
|
%{compldir}/setterm
|
|
|
|
%{compldir}/su
|
|
|
|
%{compldir}/su
|
|
|
|
%{compldir}/swaplabel
|
|
|
|
%{compldir}/swaplabel
|
|
|
|
%{compldir}/uclampset
|
|
|
|
%{compldir}/swapoff
|
|
|
|
|
|
|
|
%{compldir}/swapon
|
|
|
|
|
|
|
|
%{compldir}/taskset
|
|
|
|
%{compldir}/ul
|
|
|
|
%{compldir}/ul
|
|
|
|
|
|
|
|
%{compldir}/unshare
|
|
|
|
%{compldir}/utmpdump
|
|
|
|
%{compldir}/utmpdump
|
|
|
|
%{compldir}/uuidgen
|
|
|
|
%{compldir}/uuidgen
|
|
|
|
%{compldir}/uuidparse
|
|
|
|
%{compldir}/uuidparse
|
|
|
@ -713,6 +813,7 @@ fi
|
|
|
|
%{compldir}/write
|
|
|
|
%{compldir}/write
|
|
|
|
%{compldir}/zramctl
|
|
|
|
%{compldir}/zramctl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ifnarch s390 s390x
|
|
|
|
%ifnarch s390 s390x
|
|
|
|
%{_sbindir}/clock
|
|
|
|
%{_sbindir}/clock
|
|
|
|
%{_sbindir}/fdformat
|
|
|
|
%{_sbindir}/fdformat
|
|
|
@ -739,95 +840,6 @@ fi
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n util-linux-core
|
|
|
|
|
|
|
|
%attr(4755,root,root) %{_bindir}/mount
|
|
|
|
|
|
|
|
%attr(4755,root,root) %{_bindir}/umount
|
|
|
|
|
|
|
|
%{_bindir}/chrt
|
|
|
|
|
|
|
|
%{_bindir}/dmesg
|
|
|
|
|
|
|
|
%{_bindir}/findmnt
|
|
|
|
|
|
|
|
%{_bindir}/flock
|
|
|
|
|
|
|
|
%{_bindir}/hardlink
|
|
|
|
|
|
|
|
%{_bindir}/ionice
|
|
|
|
|
|
|
|
%{_bindir}/ipcmk
|
|
|
|
|
|
|
|
%{_bindir}/ipcrm
|
|
|
|
|
|
|
|
%{_bindir}/ipcs
|
|
|
|
|
|
|
|
%{_bindir}/kill
|
|
|
|
|
|
|
|
%{_bindir}/logger
|
|
|
|
|
|
|
|
%{_bindir}/more
|
|
|
|
|
|
|
|
%{_bindir}/mountpoint
|
|
|
|
|
|
|
|
%{_bindir}/nsenter
|
|
|
|
|
|
|
|
%{_bindir}/renice
|
|
|
|
|
|
|
|
%{_bindir}/setsid
|
|
|
|
|
|
|
|
%{_bindir}/taskset
|
|
|
|
|
|
|
|
%{_bindir}/unshare
|
|
|
|
|
|
|
|
%{compldir}/blkid
|
|
|
|
|
|
|
|
%{compldir}/blockdev
|
|
|
|
|
|
|
|
%{compldir}/chrt
|
|
|
|
|
|
|
|
%{compldir}/dmesg
|
|
|
|
|
|
|
|
%{compldir}/findmnt
|
|
|
|
|
|
|
|
%{compldir}/flock
|
|
|
|
|
|
|
|
%{compldir}/hardlink
|
|
|
|
|
|
|
|
%{compldir}/fsck
|
|
|
|
|
|
|
|
%{compldir}/ionice
|
|
|
|
|
|
|
|
%{compldir}/ipcmk
|
|
|
|
|
|
|
|
%{compldir}/ipcrm
|
|
|
|
|
|
|
|
%{compldir}/ipcs
|
|
|
|
|
|
|
|
%{compldir}/logger
|
|
|
|
|
|
|
|
%{compldir}/losetup
|
|
|
|
|
|
|
|
%{compldir}/mkswap
|
|
|
|
|
|
|
|
%{compldir}/more
|
|
|
|
|
|
|
|
%{compldir}/mountpoint
|
|
|
|
|
|
|
|
%{compldir}/nsenter
|
|
|
|
|
|
|
|
%{compldir}/partx
|
|
|
|
|
|
|
|
%{compldir}/renice
|
|
|
|
|
|
|
|
%{compldir}/setsid
|
|
|
|
|
|
|
|
%{compldir}/swapoff
|
|
|
|
|
|
|
|
%{compldir}/swapon
|
|
|
|
|
|
|
|
%{compldir}/taskset
|
|
|
|
|
|
|
|
%{compldir}/unshare
|
|
|
|
|
|
|
|
%{_mandir}/man1/chrt.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/dmesg.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/flock.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/hardlink.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/ionice.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/ipcmk.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/ipcrm.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/ipcs.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/kill.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/logger.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/more.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/mountpoint.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/nsenter.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/renice.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/setsid.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/taskset.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/unshare.1*
|
|
|
|
|
|
|
|
%{_mandir}/man8/agetty.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/blkid.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/blockdev.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/findmnt.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/fsck.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/losetup.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/mkswap.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/mount.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/partx.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/swapoff.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/swapon.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/switch_root.8*
|
|
|
|
|
|
|
|
%{_mandir}/man8/umount.8*
|
|
|
|
|
|
|
|
%{_sbindir}/agetty
|
|
|
|
|
|
|
|
%{_sbindir}/blkid
|
|
|
|
|
|
|
|
%{_sbindir}/blockdev
|
|
|
|
|
|
|
|
%{_sbindir}/fsck
|
|
|
|
|
|
|
|
%{_sbindir}/losetup
|
|
|
|
|
|
|
|
%{_sbindir}/mkswap
|
|
|
|
|
|
|
|
%{_sbindir}/partx
|
|
|
|
|
|
|
|
%{_sbindir}/swapoff
|
|
|
|
|
|
|
|
%{_sbindir}/swapon
|
|
|
|
|
|
|
|
%{_sbindir}/switch_root
|
|
|
|
|
|
|
|
/etc/mtab
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n util-linux-user
|
|
|
|
%files -n util-linux-user
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/chfn
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/chfn
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/chsh
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/chsh
|
|
|
@ -840,6 +852,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n uuidd
|
|
|
|
%files -n uuidd
|
|
|
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license Documentation/licenses/COPYING.GPL-2.0-or-later
|
|
|
|
%license Documentation/licenses/COPYING.GPL-2.0-or-later
|
|
|
|
%{_mandir}/man8/uuidd.8*
|
|
|
|
%{_mandir}/man8/uuidd.8*
|
|
|
|
%{_sbindir}/uuidd
|
|
|
|
%{_sbindir}/uuidd
|
|
|
@ -847,10 +860,10 @@ fi
|
|
|
|
%dir %attr(2775, uuidd, uuidd) /var/lib/libuuid
|
|
|
|
%dir %attr(2775, uuidd, uuidd) /var/lib/libuuid
|
|
|
|
%dir %attr(2775, uuidd, uuidd) /run/uuidd
|
|
|
|
%dir %attr(2775, uuidd, uuidd) /run/uuidd
|
|
|
|
%{compldir}/uuidd
|
|
|
|
%{compldir}/uuidd
|
|
|
|
%{_tmpfilesdir}/uuidd.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n libfdisk
|
|
|
|
%files -n libfdisk
|
|
|
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later libfdisk/COPYING
|
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later libfdisk/COPYING
|
|
|
|
%{_libdir}/libfdisk.so.*
|
|
|
|
%{_libdir}/libfdisk.so.*
|
|
|
|
|
|
|
|
|
|
|
@ -861,6 +874,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n libsmartcols
|
|
|
|
%files -n libsmartcols
|
|
|
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later libsmartcols/COPYING
|
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later libsmartcols/COPYING
|
|
|
|
%{_libdir}/libsmartcols.so.*
|
|
|
|
%{_libdir}/libsmartcols.so.*
|
|
|
|
|
|
|
|
|
|
|
@ -871,6 +885,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n libmount
|
|
|
|
%files -n libmount
|
|
|
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later libmount/COPYING
|
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later libmount/COPYING
|
|
|
|
%{_libdir}/libmount.so.*
|
|
|
|
%{_libdir}/libmount.so.*
|
|
|
|
|
|
|
|
|
|
|
@ -893,6 +908,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n libuuid
|
|
|
|
%files -n libuuid
|
|
|
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license Documentation/licenses/COPYING.BSD-3-Clause libuuid/COPYING
|
|
|
|
%license Documentation/licenses/COPYING.BSD-3-Clause libuuid/COPYING
|
|
|
|
%{_libdir}/libuuid.so.*
|
|
|
|
%{_libdir}/libuuid.so.*
|
|
|
|
|
|
|
|
|
|
|
@ -914,134 +930,17 @@ fi
|
|
|
|
%{_libdir}/pkgconfig/uuid.pc
|
|
|
|
%{_libdir}/pkgconfig/uuid.pc
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{pypkg}-libmount
|
|
|
|
%files -n %{pypkg}-libmount
|
|
|
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later libmount/COPYING
|
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later libmount/COPYING
|
|
|
|
%{_libdir}/python*/site-packages/libmount/
|
|
|
|
%{_libdir}/python*/site-packages/libmount/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Apr 19 2023 Karel Zak <kzak@redhat.com> - 2.39-0.5
|
|
|
|
* Thu Jan 7 2021 Karel Zak <kzak@redhat.com> - 2.36.1-1
|
|
|
|
- upgrade to v2.39-rc3 (fixes XFS and rw/ro issues)
|
|
|
|
- add upstream patch to fix 'symfollow' mount issue
|
|
|
|
|
|
|
|
- upgrade to upstream v2.36.1
|
|
|
|
|
|
|
|
https://www.kernel.org/pub/linux/utils/util-linux/v2.36/v2.36.1-ReleaseNotes
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 5 2023 Karel Zak <kzak@redhat.com> - 2.39-0.4
|
|
|
|
* Thu Aug 27 2020 Karel Zak <kzak@redhat.com> - 2.36-3
|
|
|
|
- fix #2180593 (superblock reconfiguration libmount issue)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 4 2023 Karel Zak <kzak@redhat.com> - 2.39-0.3
|
|
|
|
|
|
|
|
- fix spec file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 4 2023 Karel Zak <kzak@redhat.com> - 2.39-0.2
|
|
|
|
|
|
|
|
- upgrade to v2.39-rc2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 20 2023 Karel Zak <kzak@redhat.com> - 2.39-0.1
|
|
|
|
|
|
|
|
- upgrade to v2.39-rc1
|
|
|
|
|
|
|
|
https://kernel.org/pub/linux/utils/util-linux/v2.39/v2.39-ReleaseNotes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.38.1-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Dec 17 2022 Florian Weimer <fweimer@redhat.com> - 2.38.1-3
|
|
|
|
|
|
|
|
- Backport upstream patch to fix C99 issue in kill
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 22 2022 Karel Zak <kzak@redhat.com> - 2.38.1-2
|
|
|
|
|
|
|
|
- improve tmpfiles.d use in spec file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 4 2022 Karel Zak <kzak@redhat.com> - 2.38.1-1
|
|
|
|
|
|
|
|
- upgrade to v2.38.1
|
|
|
|
|
|
|
|
https://kernel.org/pub/linux/utils/util-linux/v2.38/v2.38.1-ReleaseNotes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.38-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.38-4
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 13 2022 Karel Zak <kzak@redhat.com> - 2.38-3
|
|
|
|
|
|
|
|
- fix spec file changelog order
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 30 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.38-2
|
|
|
|
|
|
|
|
- simplify creation of /etc/mtab symlink
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 30 2022 Karel Zak <kzak@redhat.com> - 2.38-1
|
|
|
|
|
|
|
|
- upgrade to v2.38
|
|
|
|
|
|
|
|
- don't (re)generate build-system
|
|
|
|
|
|
|
|
- modernize spec file style (thanks to Zbigniew)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 17 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.38-0.5
|
|
|
|
|
|
|
|
- Drop very old upgrade scriptlet for libblkid
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 16 2022 Karel Zak <kzak@redhat.com> - 2.38-0.4
|
|
|
|
|
|
|
|
- upgrade to v2.38-rc3
|
|
|
|
|
|
|
|
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ReleaseNotes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 2 2022 Karel Zak <kzak@redhat.com> - 2.38-0.3
|
|
|
|
|
|
|
|
- add /usr/lib/tmpfiles.d/uuidd.conf (based on #2047952)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 2 2022 Karel Zak <kzak@redhat.com> - 2.38-0.2
|
|
|
|
|
|
|
|
- release ownership of /var/log/lastlog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 31 2022 Karel Zak <kzak@redhat.com> - 2.38-0.1
|
|
|
|
|
|
|
|
- upgrade to v2.38-rc1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.37.2-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 17 2021 Karel Zak <kzak@redhat.com> - 2.37.2-1
|
|
|
|
|
|
|
|
* upgrade to v2.37.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.37-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 14 2021 Karel Zak <kzak@redhat.com> - 2.37-5
|
|
|
|
|
|
|
|
- remove unused util-linux-60-raw.rules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 14 2021 Karel Zak <kzak@redhat.com> - 2.37-4
|
|
|
|
|
|
|
|
- disable raw(8) - no more supported since Linux v5.14 (commit 03e4922f1c81fc2ed3a87b4f91a8d3aafc7e093)
|
|
|
|
|
|
|
|
- remove dependence on deprecated pcre2posix.h
|
|
|
|
|
|
|
|
- fix #1981729 - close_range() 3rd argument
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 16 2021 Richard W.M. Jones <rjones@redhat.com> - 2.37-3
|
|
|
|
|
|
|
|
- Rebuild for updated pcre2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.37-2
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 1 2021 Karel Zak <kzak@redhat.com> - 2.37-1
|
|
|
|
|
|
|
|
- upgrade to v2.37
|
|
|
|
|
|
|
|
- introduce util-linux-core subpackage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 14 2021 Karel Zak <kzak@redhat.com> - 2.37-0.1
|
|
|
|
|
|
|
|
- upgrade to v2.37-rc2
|
|
|
|
|
|
|
|
https://kernel.org/pub/linux/utils/util-linux/v2.37/v2.37-ReleaseNotes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.36.2-3
|
|
|
|
|
|
|
|
- Rebuilt for updated systemd-rpm-macros
|
|
|
|
|
|
|
|
See https://pagure.io/fesco/issue/2583.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 2 2021 Karel Zak <kzak@redhat.com> - 2.36.2-2
|
|
|
|
|
|
|
|
- spec file cleanup https://src.fedoraproject.org/rpms/util-linux/pull-request/9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 12 2021 Karel Zak <kzak@redhat.com> - 2.36.2-1
|
|
|
|
|
|
|
|
- upgrade to stable upstream 2.36.2
|
|
|
|
|
|
|
|
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.36/v2.36.2-ReleaseNotes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Kelvin Fan <kfan@redhat.com> - 2.36.1-4
|
|
|
|
|
|
|
|
- Add patch to add /run/motd.d to default MOTD_FILE in login(1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 14 2021 Karel Zak <kzak@redhat.com> - 2.36.1-3
|
|
|
|
|
|
|
|
- improve uuidd scriptlets (fix #1767553)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 19 2020 Karel Zak <kzak@redhat.com> - 2.36.1-2
|
|
|
|
|
|
|
|
- remove unused patches
|
|
|
|
|
|
|
|
- remove versions and seq.numbers from patch names
|
|
|
|
|
|
|
|
- fix mount "symfollow" issue (upstream patch)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 16 2020 Karel Zak <kzak@redhat.com> - 2.36.1-1
|
|
|
|
|
|
|
|
- upgrade to stable upstream 2.36.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 12 2020 Tom Stellard <tstellar@redhat.com> - 2.36-4
|
|
|
|
|
|
|
|
- Use make macros
|
|
|
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 01 2020 Karel Zak <kzak@redhat.com> - 2.36-3
|
|
|
|
|
|
|
|
- remove mountinfo workaround (unnecessary for kernel 5.8)
|
|
|
|
|
|
|
|
- fix #1860461 - sfdisk regression creating simple 3 partition MBR disk
|
|
|
|
- fix #1860461 - sfdisk regression creating simple 3 partition MBR disk
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.36-2
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.36-2
|
|
|
|