2011-01-19 08:56:35 +00:00
|
|
|
### Header
|
2021-01-13 22:17:52 +00:00
|
|
|
Summary: Collection of basic system utilities
|
2011-01-19 08:56:35 +00:00
|
|
|
Name: util-linux
|
2024-02-05 09:29:29 +00:00
|
|
|
Version: 2.40
|
2024-02-07 11:54:33 +00:00
|
|
|
Release: %autorelease -p -e rc1
|
2024-02-28 13:27:30 +00:00
|
|
|
License: GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND LicenseRef-Fedora-Public-Domain
|
2021-01-13 22:17:52 +00:00
|
|
|
URL: https://en.wikipedia.org/wiki/Util-linux
|
2011-01-19 08:56:35 +00:00
|
|
|
|
2015-08-13 09:35:50 +00:00
|
|
|
### Macros
|
2024-02-05 09:29:29 +00:00
|
|
|
%global upstream_version %{version}-rc1
|
2022-02-17 13:02:53 +00:00
|
|
|
%global upstream_major %(eval echo %{version} | sed -e 's/\([[:digit:]]*\)\.\([[:digit:]]*\)\.[[:digit:]]*$/\1.\2/')
|
2015-08-13 09:35:50 +00:00
|
|
|
|
2022-02-17 13:02:53 +00:00
|
|
|
%global compldir %{_datadir}/bash-completion/completions/
|
2015-08-13 09:35:50 +00:00
|
|
|
|
2022-02-17 13:02:53 +00:00
|
|
|
%global pypkg python3
|
|
|
|
%global pyver 3
|
2011-01-19 08:56:35 +00:00
|
|
|
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 14:07:47 +00:00
|
|
|
### Dependencies
|
2021-01-09 00:31:51 +00:00
|
|
|
BuildRequires: make
|
2011-01-19 08:56:35 +00:00
|
|
|
BuildRequires: audit-libs-devel >= 1.0.6
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: ncurses-devel
|
2019-09-05 11:04:30 +00:00
|
|
|
BuildRequires: readline-devel
|
2011-01-19 08:56:35 +00:00
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: popt-devel
|
|
|
|
BuildRequires: libutempter-devel
|
2022-02-17 13:02:53 +00:00
|
|
|
BuildRequires: systemd-devel
|
2015-07-16 10:35:07 +00:00
|
|
|
BuildRequires: systemd
|
2013-03-22 13:10:10 +00:00
|
|
|
BuildRequires: libcap-ng-devel
|
2015-08-12 08:56:45 +00:00
|
|
|
BuildRequires: %{pypkg}-devel
|
2018-02-20 11:20:35 +00:00
|
|
|
BuildRequires: gcc
|
2021-05-14 08:42:53 +00:00
|
|
|
BuildRequires: rubygem-asciidoctor
|
2023-05-18 09:36:49 +00:00
|
|
|
BuildRequires: po4a
|
2019-07-24 15:00:02 +00:00
|
|
|
%ifarch ppc64le
|
|
|
|
BuildRequires: librtas-devel
|
|
|
|
%endif
|
2020-02-03 10:08:00 +00:00
|
|
|
|
|
|
|
# enable if make changes to build-system
|
2023-05-18 09:36:49 +00:00
|
|
|
#BuildRequires: autoconf
|
|
|
|
#BuildRequires: automake
|
|
|
|
#BuildRequires: libtool
|
|
|
|
#BuildRequires: bison
|
2012-11-01 14:09:04 +00:00
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
### Sources
|
2021-01-13 22:17:52 +00:00
|
|
|
Source0: https://www.kernel.org/pub/linux/utils/util-linux/v%{upstream_major}/util-linux-%{upstream_version}.tar.xz
|
2011-02-08 16:30:48 +00:00
|
|
|
Source1: util-linux-login.pamd
|
|
|
|
Source2: util-linux-remote.pamd
|
|
|
|
Source3: util-linux-chsh-chfn.pamd
|
2022-02-02 11:23:05 +00:00
|
|
|
Source4: uuidd-tmpfiles.conf
|
2018-05-18 09:08:27 +00:00
|
|
|
Source5: adjtime
|
2012-11-01 14:09:04 +00:00
|
|
|
Source12: util-linux-su.pamd
|
|
|
|
Source13: util-linux-su-l.pamd
|
|
|
|
Source14: util-linux-runuser.pamd
|
|
|
|
Source15: util-linux-runuser-l.pamd
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
### Obsoletes & Conflicts & Provides
|
2018-05-18 08:47:36 +00:00
|
|
|
Conflicts: initscripts < 9.79-4
|
2013-04-10 22:32:07 +00:00
|
|
|
Conflicts: bash-completion < 1:2.1-1
|
2012-11-01 14:09:04 +00:00
|
|
|
# su(1) and runuser(1) merged into util-linux v2.22
|
|
|
|
Conflicts: coreutils < 8.20
|
2012-09-06 10:51:38 +00:00
|
|
|
# eject has been merged into util-linux v2.22
|
|
|
|
Obsoletes: eject <= 2.1.5
|
|
|
|
Provides: eject = 2.1.6
|
2017-10-09 08:42:31 +00:00
|
|
|
# rfkill has been merged into util-linux v2.31
|
|
|
|
Obsoletes: rfkill <= 0.5
|
|
|
|
Provides: rfkill = 0.5
|
2013-09-27 13:09:27 +00:00
|
|
|
# sulogin, utmpdump merged into util-linux v2.22;
|
|
|
|
# last, lastb merged into util-linux v2.24
|
|
|
|
Conflicts: sysvinit-tools < 2.88-14
|
2011-01-19 08:56:35 +00:00
|
|
|
# rename from util-linux-ng back to util-linux
|
|
|
|
Obsoletes: util-linux-ng < 2.19
|
|
|
|
Provides: util-linux-ng = %{version}-%{release}
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 14:07:47 +00:00
|
|
|
Conflicts: filesystem < 3
|
|
|
|
Provides: /sbin/nologin
|
2021-06-01 10:23:41 +00:00
|
|
|
Provides: /sbin/findfs
|
2023-05-18 16:31:58 +00:00
|
|
|
# util-linux-user was dropped in 2.39-1 and its contents moved back
|
|
|
|
# to util-linux
|
|
|
|
Obsoletes: util-linux-user < 2.39-1
|
|
|
|
Provides: util-linux-user = %{version}-%{release}
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
Requires(post): coreutils
|
2011-11-22 15:29:24 +00:00
|
|
|
Requires: pam >= 1.1.3-7, /etc/pam.d/system-auth
|
2011-01-19 08:56:35 +00:00
|
|
|
Requires: audit-libs >= 1.0.6
|
|
|
|
Requires: libuuid = %{version}-%{release}
|
|
|
|
Requires: libblkid = %{version}-%{release}
|
|
|
|
Requires: libmount = %{version}-%{release}
|
2014-06-19 12:39:55 +00:00
|
|
|
Requires: libsmartcols = %{version}-%{release}
|
2015-01-15 14:01:38 +00:00
|
|
|
Requires: libfdisk = %{version}-%{release}
|
2021-06-01 10:23:41 +00:00
|
|
|
Requires: util-linux-core = %{version}-%{release}
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
### Ready for upstream?
|
|
|
|
###
|
|
|
|
# 151635 - makeing /var/log/lastlog
|
2020-11-19 10:50:25 +00:00
|
|
|
Patch0: login-lastlog-create.patch
|
2021-01-27 16:16:53 +00:00
|
|
|
# Add `/run/motd.d` to the hardcoded MOTD_FILE
|
|
|
|
# https://github.com/coreos/console-login-helper-messages/issues/60
|
2021-05-14 08:42:53 +00:00
|
|
|
Patch1: login-default-motd-file.patch
|
2013-05-28 10:24:56 +00:00
|
|
|
|
2024-02-28 13:27:30 +00:00
|
|
|
#### Upstream
|
2024-02-15 16:39:09 +00:00
|
|
|
Patch2: 0001-setpriv-apply-landlock-without-configuration.patch
|
2024-02-28 13:27:30 +00:00
|
|
|
Patch3: 0001-docs-use-proper-XSPD-identifier-for-GPL-2.0.patch
|
2024-02-15 16:39:09 +00:00
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
%description
|
|
|
|
The util-linux package contains a large variety of low-level system
|
|
|
|
utilities that are necessary for a Linux system to function. Among
|
2022-02-17 13:02:53 +00:00
|
|
|
others, util-linux contains the fdisk configuration tool and the login
|
2011-01-19 08:56:35 +00:00
|
|
|
program.
|
|
|
|
|
|
|
|
|
2021-06-01 10:23:41 +00:00
|
|
|
%package -n util-linux-core
|
2022-02-17 13:02:53 +00:00
|
|
|
Summary: The most essential utilities from the util-linux suite
|
2024-02-28 13:27:30 +00:00
|
|
|
License: GPL-2.0-only AND GPL-2.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND LicenseRef-Fedora-Public-Domain
|
|
|
|
|
2021-06-01 10:23:41 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
2015-01-15 14:01:38 +00:00
|
|
|
%package -n libfdisk
|
2022-02-17 13:02:53 +00:00
|
|
|
Summary: Partitioning library for fdisk-like programs
|
2024-02-28 13:27:30 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2015-01-15 14:01:38 +00:00
|
|
|
|
|
|
|
%description -n libfdisk
|
|
|
|
This is library for fdisk-like programs, part of util-linux.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libfdisk-devel
|
2022-02-17 13:02:53 +00:00
|
|
|
Summary: Partitioning library for fdisk-like programs
|
2024-02-28 13:27:30 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2021-01-13 22:17:52 +00:00
|
|
|
Requires: libfdisk%{?_isa} = %{version}-%{release}
|
2015-01-15 14:01:38 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n libfdisk-devel
|
|
|
|
This is development library and headers for fdisk-like programs,
|
|
|
|
part of util-linux.
|
|
|
|
|
|
|
|
|
2014-06-19 12:39:55 +00:00
|
|
|
%package -n libsmartcols
|
2022-02-17 13:02:53 +00:00
|
|
|
Summary: Formatting library for ls-like programs
|
2024-02-28 13:27:30 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2014-06-19 12:39:55 +00:00
|
|
|
|
|
|
|
%description -n libsmartcols
|
|
|
|
This is library for ls-like terminal programs, part of util-linux.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsmartcols-devel
|
2022-02-17 13:02:53 +00:00
|
|
|
Summary: Formatting library for ls-like programs
|
2024-02-28 13:27:30 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2021-01-13 22:17:52 +00:00
|
|
|
Requires: libsmartcols%{?_isa} = %{version}-%{release}
|
2014-06-19 12:39:55 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n libsmartcols-devel
|
|
|
|
This is development library and headers for ls-like terminal programs,
|
|
|
|
part of util-linux.
|
|
|
|
|
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
%package -n libmount
|
|
|
|
Summary: Device mounting library
|
2024-02-28 13:27:30 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2021-01-13 22:17:52 +00:00
|
|
|
Requires: libblkid%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libuuid%{?_isa} = %{version}-%{release}
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 14:07:47 +00:00
|
|
|
Conflicts: filesystem < 3
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
%description -n libmount
|
|
|
|
This is the device mounting library, part of util-linux.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libmount-devel
|
|
|
|
Summary: Device mounting library
|
2024-02-28 13:27:30 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2021-01-13 22:17:52 +00:00
|
|
|
Requires: libmount%{?_isa} = %{version}-%{release}
|
2011-01-19 08:56:35 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n libmount-devel
|
|
|
|
This is the device mounting development library and headers,
|
|
|
|
part of util-linux.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libblkid
|
|
|
|
Summary: Block device ID library
|
2024-02-28 13:27:30 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2021-01-13 22:17:52 +00:00
|
|
|
Requires: libuuid%{?_isa} = %{version}-%{release}
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 14:07:47 +00:00
|
|
|
Conflicts: filesystem < 3
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
%description -n libblkid
|
|
|
|
This is block device identification library, part of util-linux.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libblkid-devel
|
|
|
|
Summary: Block device ID library
|
2024-02-28 13:27:30 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2021-01-13 22:17:52 +00:00
|
|
|
Requires: libblkid%{?_isa} = %{version}-%{release}
|
2011-01-19 08:56:35 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n libblkid-devel
|
|
|
|
This is the block device identification development library and headers,
|
|
|
|
part of util-linux.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libuuid
|
|
|
|
Summary: Universally unique ID library
|
2024-02-28 13:27:30 +00:00
|
|
|
License: BSD-3-Clause
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 14:07:47 +00:00
|
|
|
Conflicts: filesystem < 3
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
%description -n libuuid
|
2012-10-03 07:42:04 +00:00
|
|
|
This is the universally unique ID library, part of util-linux.
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
The libuuid library generates and parses 128-bit universally unique
|
|
|
|
id's (UUID's). A UUID is an identifier that is unique across both
|
|
|
|
space and time, with respect to the space of all UUIDs. A UUID can
|
|
|
|
be used for multiple purposes, from tagging objects with an extremely
|
|
|
|
short lifetime, to reliably identifying very persistent objects
|
|
|
|
across a network.
|
|
|
|
|
|
|
|
See also the "uuid" package, which is a separate implementation.
|
|
|
|
|
|
|
|
%package -n libuuid-devel
|
|
|
|
Summary: Universally unique ID library
|
2024-02-28 13:27:30 +00:00
|
|
|
License: BSD-3-Clause AND LGPL-2.1-or-later
|
2021-01-13 22:17:52 +00:00
|
|
|
Requires: libuuid%{?_isa} = %{version}-%{release}
|
2011-01-19 08:56:35 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n libuuid-devel
|
|
|
|
This is the universally unique ID development library and headers,
|
2012-10-03 07:42:04 +00:00
|
|
|
part of util-linux.
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
The libuuid library generates and parses 128-bit universally unique
|
|
|
|
id's (UUID's). A UUID is an identifier that is unique across both
|
|
|
|
space and time, with respect to the space of all UUIDs. A UUID can
|
|
|
|
be used for multiple purposes, from tagging objects with an extremely
|
|
|
|
short lifetime, to reliably identifying very persistent objects
|
|
|
|
across a network.
|
|
|
|
|
|
|
|
See also the "uuid-devel" package, which is a separate implementation.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n uuidd
|
|
|
|
Summary: Helper daemon to guarantee uniqueness of time-based UUIDs
|
|
|
|
Requires: libuuid = %{version}-%{release}
|
2024-02-28 13:27:30 +00:00
|
|
|
License: GPL-2.0-only
|
2011-01-19 08:56:35 +00:00
|
|
|
Requires(pre): shadow-utils
|
2024-02-06 09:48:49 +00:00
|
|
|
%{?systemd_ordering}
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
%description -n uuidd
|
|
|
|
The uuidd package contains a userspace daemon (uuidd) which guarantees
|
|
|
|
uniqueness of time-based UUID generation even at very high rates on
|
|
|
|
SMP systems.
|
|
|
|
|
|
|
|
|
2015-08-12 08:56:45 +00:00
|
|
|
%package -n %{pypkg}-libmount
|
2013-09-27 13:09:27 +00:00
|
|
|
Summary: Python bindings for the libmount library
|
2021-01-13 22:17:52 +00:00
|
|
|
Requires: libmount%{?_isa} = %{version}-%{release}
|
2024-02-28 13:27:30 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2013-09-27 13:09:27 +00:00
|
|
|
|
2015-08-12 08:56:45 +00:00
|
|
|
%description -n %{pypkg}-libmount
|
2013-09-27 13:09:27 +00:00
|
|
|
The libmount-python package contains a module that permits applications
|
|
|
|
written in the Python programming language to use the interface
|
|
|
|
supplied by the libmount library to work with mount tables (fstab,
|
|
|
|
mountinfo, etc) and mount filesystems.
|
|
|
|
|
|
|
|
|
2023-05-18 09:36:49 +00:00
|
|
|
%package -n util-linux-i18n
|
|
|
|
Summary: Internationalization pack for util-linux
|
2016-03-22 12:37:27 +00:00
|
|
|
Requires: util-linux = %{version}-%{release}
|
2024-02-28 13:27:30 +00:00
|
|
|
License: GPL-2.0-or-later
|
2016-03-22 12:37:27 +00:00
|
|
|
|
2023-05-18 09:36:49 +00:00
|
|
|
%description -n util-linux-i18n
|
|
|
|
Internationalization pack with translated messages and manual pages for
|
|
|
|
util-linux commands.
|
2016-03-22 12:37:27 +00:00
|
|
|
|
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
%prep
|
2014-01-30 08:50:54 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{upstream_version}
|
2012-11-01 14:09:04 +00:00
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
%build
|
|
|
|
unset LINGUAS || :
|
|
|
|
|
2022-03-30 11:15:41 +00:00
|
|
|
# enable only when make a change to the build-system
|
2023-03-20 12:55:14 +00:00
|
|
|
#./autogen.sh
|
2021-07-14 15:40:22 +00:00
|
|
|
|
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
export CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $RPM_OPT_FLAGS"
|
|
|
|
export SUID_CFLAGS="-fpie"
|
2012-09-06 10:51:38 +00:00
|
|
|
export SUID_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
|
2015-01-15 14:01:38 +00:00
|
|
|
export DAEMON_CFLAGS="$SUID_CFLAGS"
|
|
|
|
export DAEMON_LDFLAGS="$SUID_LDFLAGS"
|
2011-01-19 08:56:35 +00:00
|
|
|
%configure \
|
2012-08-16 13:22:02 +00:00
|
|
|
--with-systemdsystemunitdir=%{_unitdir} \
|
2023-05-18 09:36:49 +00:00
|
|
|
--without-user \
|
2011-01-19 08:56:35 +00:00
|
|
|
--disable-silent-rules \
|
2013-04-10 22:32:07 +00:00
|
|
|
--disable-bfs \
|
|
|
|
--disable-pg \
|
2024-02-05 09:29:29 +00:00
|
|
|
--disable-liblastlog2 \
|
2012-08-16 13:22:02 +00:00
|
|
|
--enable-chfn-chsh \
|
2015-08-12 08:56:45 +00:00
|
|
|
--enable-usrdir-path \
|
2011-01-19 08:56:35 +00:00
|
|
|
--enable-write \
|
2021-07-14 15:40:22 +00:00
|
|
|
--disable-raw \
|
2019-05-02 08:03:39 +00:00
|
|
|
--enable-hardlink \
|
2021-05-14 08:42:53 +00:00
|
|
|
--enable-fdformat \
|
|
|
|
--enable-asciidoc \
|
2015-08-12 08:56:45 +00:00
|
|
|
--with-python=%{pyver} \
|
2014-06-19 12:39:55 +00:00
|
|
|
--with-systemd \
|
2012-02-07 13:12:06 +00:00
|
|
|
--with-udev \
|
2011-01-19 08:56:35 +00:00
|
|
|
--with-selinux \
|
|
|
|
--with-audit \
|
|
|
|
--with-utempter \
|
2013-04-10 22:32:07 +00:00
|
|
|
--disable-makeinstall-chown \
|
|
|
|
%ifarch s390 s390x
|
|
|
|
--disable-hwclock \
|
|
|
|
--disable-fdformat
|
|
|
|
%endif
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
# build util-linux
|
2020-11-12 10:10:09 +00:00
|
|
|
%make_build
|
2011-01-19 08:56:35 +00:00
|
|
|
|
2013-04-25 11:09:58 +00:00
|
|
|
%check
|
|
|
|
#to run tests use "--with check"
|
|
|
|
%if %{?_with_check:1}%{!?_with_check:0}
|
|
|
|
make check
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
%install
|
2024-02-06 10:24:54 +00:00
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man{1,6,8,5}
|
|
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/{pam.d,security/console.apps}
|
|
|
|
mkdir -p %{buildroot}%{_tmpfilesdir}/tmpfiles.d
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
# install util-linux
|
2020-11-12 10:10:09 +00:00
|
|
|
%make_install
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
# And a dirs uuidd needs that the makefiles don't create
|
2024-02-06 10:24:54 +00:00
|
|
|
install -m 644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/uuidd.conf
|
|
|
|
install -d %{buildroot}/run/uuidd
|
|
|
|
install -d %{buildroot}/var/lib/libuuid
|
2011-01-19 08:56:35 +00:00
|
|
|
|
2018-05-18 09:08:27 +00:00
|
|
|
# /etc/adjtime
|
2024-02-06 10:24:54 +00:00
|
|
|
install -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/adjtime
|
2018-05-18 09:08:27 +00:00
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
# libtool junk
|
2024-02-06 10:24:54 +00:00
|
|
|
rm -rf %{buildroot}%{_libdir}/*.la
|
|
|
|
rm -f %{buildroot}%{_libdir}/python*/site-packages/*.la
|
|
|
|
rm -f %{buildroot}%{_libdir}/python*/site-packages/*.a
|
2011-01-19 08:56:35 +00:00
|
|
|
|
2011-01-19 09:39:22 +00:00
|
|
|
%ifarch %{sparc}
|
2024-02-06 10:24:54 +00:00
|
|
|
rm -rf %{buildroot}%{_bindir}/sunhostid
|
|
|
|
cat << E-O-F > %{buildroot}%{_bindir}/sunhostid
|
2011-01-19 08:56:35 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# this should be _bindir/sunhostid or somesuch.
|
|
|
|
# Copyright 1999 Peter Jones, <pjones@redhat.com> .
|
|
|
|
# GPL and all that good stuff apply.
|
|
|
|
(
|
|
|
|
idprom=\`cat /proc/openprom/idprom\`
|
|
|
|
echo \$idprom|dd bs=1 skip=2 count=2
|
|
|
|
echo \$idprom|dd bs=1 skip=27 count=6
|
|
|
|
echo
|
|
|
|
) 2>/dev/null
|
|
|
|
E-O-F
|
2024-02-06 10:24:54 +00:00
|
|
|
chmod 755 %{buildroot}%{_bindir}/sunhostid
|
2011-01-19 08:56:35 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# PAM settings
|
|
|
|
{
|
2024-02-06 10:24:54 +00:00
|
|
|
pushd %{buildroot}%{_sysconfdir}/pam.d
|
2011-01-19 08:56:35 +00:00
|
|
|
install -m 644 %{SOURCE1} ./login
|
|
|
|
install -m 644 %{SOURCE2} ./remote
|
|
|
|
install -m 644 %{SOURCE3} ./chsh
|
|
|
|
install -m 644 %{SOURCE3} ./chfn
|
2012-11-01 14:09:04 +00:00
|
|
|
install -m 644 %{SOURCE12} ./su
|
|
|
|
install -m 644 %{SOURCE13} ./su-l
|
|
|
|
install -m 644 %{SOURCE14} ./runuser
|
|
|
|
install -m 644 %{SOURCE15} ./runuser-l
|
2011-01-19 08:56:35 +00:00
|
|
|
popd
|
|
|
|
}
|
|
|
|
|
2013-04-10 22:32:07 +00:00
|
|
|
%ifnarch s390 s390x
|
2024-02-06 10:24:54 +00:00
|
|
|
ln -sf hwclock %{buildroot}%{_sbindir}/clock
|
|
|
|
echo ".so man8/hwclock.8" > %{buildroot}%{_mandir}/man8/clock.8
|
2011-01-19 08:56:35 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# unsupported on SPARCs
|
2011-01-19 09:39:22 +00:00
|
|
|
%ifarch %{sparc}
|
2024-02-06 10:27:12 +00:00
|
|
|
rm -f %{buildroot}/sbin/sfdisk \
|
|
|
|
%{buildroot}%{_mandir}/man8/sfdisk.8* \
|
|
|
|
%{buildroot}/sbin/cfdisk \
|
|
|
|
%{buildroot}%{_mandir}/man8/cfdisk.8*
|
2011-01-19 08:56:35 +00:00
|
|
|
%endif
|
|
|
|
|
2015-07-16 10:13:18 +00:00
|
|
|
# we install getopt-*.{bash,tcsh} by doc directive
|
2021-05-14 08:42:53 +00:00
|
|
|
#chmod 644 misc-utils/getopt-*.{bash,tcsh}
|
2024-02-06 10:24:54 +00:00
|
|
|
#rm -f %{buildroot}%{_datadir}/doc/util-linux/getopt/*
|
|
|
|
#rmdir %{buildroot}%{_datadir}/doc/util-linux/getopt
|
2011-01-19 08:56:35 +00:00
|
|
|
|
2017-08-02 13:09:23 +00:00
|
|
|
ln -sf ../proc/self/mounts %{buildroot}/etc/mtab
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
# remove static libs
|
2024-02-06 10:24:54 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/lib{uuid,blkid,mount,smartcols,fdisk}.a
|
2011-01-19 08:56:35 +00:00
|
|
|
|
2016-03-29 09:51:16 +00:00
|
|
|
# temporary remove to avoid conflicts with bash-completion pkg
|
2024-02-06 10:24:54 +00:00
|
|
|
rm -f %{buildroot}%{compldir}/{mount,umount}
|
2016-03-29 09:51:16 +00:00
|
|
|
|
2024-01-11 14:18:52 +00:00
|
|
|
# remove unvanted translations (conflicts with shadow-utils)
|
2024-02-06 10:24:54 +00:00
|
|
|
rm -f %{buildroot}%{_mandir}/*/man1/newgrp.*
|
|
|
|
rm -f %{buildroot}%{_mandir}/*/man8/vigr.*
|
|
|
|
rm -f %{buildroot}%{_mandir}/*/man8/vipw.*
|
2024-01-11 14:18:52 +00:00
|
|
|
|
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
# find MO files
|
2023-05-18 09:36:49 +00:00
|
|
|
%find_lang %{name} --all-name --with-man
|
2011-01-19 08:56:35 +00:00
|
|
|
|
2023-05-18 09:36:49 +00:00
|
|
|
touch %{name}.files
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
# create list of setarch(8) symlinks
|
2024-02-06 10:24:54 +00:00
|
|
|
find %{buildroot}%{_bindir}/ -regextype posix-egrep -type l \
|
2014-06-19 12:39:55 +00:00
|
|
|
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|uname26)$" \
|
2011-01-19 08:56:35 +00:00
|
|
|
-printf "%{_bindir}/%f\n" >> %{name}.files
|
|
|
|
|
2024-02-06 10:24:54 +00:00
|
|
|
find %{buildroot}%{_mandir}/man8 -regextype posix-egrep \
|
2014-06-19 12:39:55 +00:00
|
|
|
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|uname26)\.8.*" \
|
2011-01-19 08:56:35 +00:00
|
|
|
-printf "%{_mandir}/man8/%f*\n" >> %{name}.files
|
|
|
|
|
2024-02-06 09:57:28 +00:00
|
|
|
%post
|
|
|
|
%systemd_post fstrim.{service,timer}
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun fstrim.{service,timer}
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart fstrim.timer
|
|
|
|
%systemd_postun fstrim.service
|
2021-06-01 10:23:41 +00:00
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
%pre -n uuidd
|
|
|
|
getent group uuidd >/dev/null || groupadd -r uuidd
|
|
|
|
getent passwd uuidd >/dev/null || \
|
|
|
|
useradd -r -g uuidd -d /var/lib/libuuid -s /sbin/nologin \
|
|
|
|
-c "UUID generator helper daemon" uuidd
|
|
|
|
exit 0
|
|
|
|
|
2018-04-11 07:27:03 +00:00
|
|
|
# Please, keep uuidd running after installation! Note that systemd_post is
|
|
|
|
# "systemctl preset" and it enable/disable service only.
|
2011-01-19 08:56:35 +00:00
|
|
|
%post -n uuidd
|
2014-05-12 09:37:27 +00:00
|
|
|
%systemd_post uuidd.service
|
2021-01-14 14:38:22 +00:00
|
|
|
if [ $1 -eq 1 ] && [ -x /usr/bin/systemctl ]; then
|
|
|
|
# install
|
2024-02-06 09:42:42 +00:00
|
|
|
/usr/bin/systemctl start uuidd.service > /dev/null 2>&1 || :
|
2018-04-11 07:27:03 +00:00
|
|
|
fi
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
%preun -n uuidd
|
2024-02-06 09:42:42 +00:00
|
|
|
%systemd_preun uuidd.socket uuidd.service
|
2014-05-07 10:29:27 +00:00
|
|
|
|
2014-05-07 10:33:19 +00:00
|
|
|
%postun -n uuidd
|
2024-02-06 09:42:42 +00:00
|
|
|
%systemd_postun_with_restart uuidd.socket uuidd.service
|
2011-01-19 08:56:35 +00:00
|
|
|
|
2024-02-06 10:06:22 +00:00
|
|
|
%triggerpostun -- util-linux < 2.40-0.2
|
2020-03-24 12:50:01 +00:00
|
|
|
if [ $1 -gt 1 ] && [ -x /usr/bin/systemctl ] ; then
|
2024-02-06 10:06:22 +00:00
|
|
|
# Enable fstrim.timer for upgrades from older versions
|
2020-03-24 12:50:01 +00:00
|
|
|
/usr/bin/systemctl --no-reload preset fstrim.timer || :
|
|
|
|
fi
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
%files -f %{name}.files
|
2013-04-15 08:39:36 +00:00
|
|
|
%doc README NEWS AUTHORS
|
2014-08-06 11:05:20 +00:00
|
|
|
%doc Documentation/deprecated.txt
|
|
|
|
%license Documentation/licenses/*
|
2012-08-16 13:22:02 +00:00
|
|
|
%doc misc-utils/getopt-*.{bash,tcsh}
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/login
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/remote
|
2012-11-01 14:09:04 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/su
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/su-l
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/runuser
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
|
2023-05-18 09:36:49 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/chfn
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/chsh
|
2011-01-19 08:56:35 +00:00
|
|
|
|
2018-05-18 08:47:36 +00:00
|
|
|
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/adjtime
|
|
|
|
|
2012-11-01 14:09:04 +00:00
|
|
|
%attr(4755,root,root) %{_bindir}/su
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 14:07:47 +00:00
|
|
|
%attr(755,root,root) %{_bindir}/login
|
2011-01-19 08:56:35 +00:00
|
|
|
%attr(2755,root,tty) %{_bindir}/write
|
2023-05-18 09:36:49 +00:00
|
|
|
%attr(4711,root,root) %{_bindir}/chfn
|
|
|
|
%attr(4711,root,root) %{_bindir}/chsh
|
2011-01-19 08:56:35 +00:00
|
|
|
|
2014-07-24 08:34:39 +00:00
|
|
|
%{_unitdir}/fstrim.*
|
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/cal
|
2020-07-23 12:51:41 +00:00
|
|
|
%{_bindir}/chmem
|
|
|
|
%{_bindir}/choom
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/col
|
|
|
|
%{_bindir}/colcrt
|
|
|
|
%{_bindir}/colrm
|
|
|
|
%{_bindir}/column
|
2012-09-06 10:51:38 +00:00
|
|
|
%{_bindir}/eject
|
2024-02-05 09:29:29 +00:00
|
|
|
%{_bindir}/enosys
|
|
|
|
%{_bindir}/exch
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/fallocate
|
2017-05-17 08:51:15 +00:00
|
|
|
%{_bindir}/fincore
|
2023-03-20 12:55:14 +00:00
|
|
|
%{_bindir}/fadvise
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/getopt
|
|
|
|
%{_bindir}/hexdump
|
2020-07-23 12:51:41 +00:00
|
|
|
%{_bindir}/irqtop
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/isosize
|
2013-09-27 13:09:27 +00:00
|
|
|
%{_bindir}/last
|
|
|
|
%{_bindir}/lastb
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/look
|
2012-08-16 13:22:02 +00:00
|
|
|
%{_bindir}/lsblk
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/lscpu
|
2024-02-05 09:29:29 +00:00
|
|
|
%{_bindir}/lsclocks
|
2022-01-31 15:22:25 +00:00
|
|
|
%{_bindir}/lsfd
|
2015-07-31 11:10:27 +00:00
|
|
|
%{_bindir}/lsipc
|
2020-07-23 12:51:41 +00:00
|
|
|
%{_bindir}/lsirq
|
2012-08-16 13:22:02 +00:00
|
|
|
%{_bindir}/lslocks
|
2014-06-19 12:39:55 +00:00
|
|
|
%{_bindir}/lslogins
|
2017-05-17 08:51:15 +00:00
|
|
|
%{_bindir}/lsmem
|
2016-03-22 12:37:27 +00:00
|
|
|
%{_bindir}/lsns
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/mcookie
|
2013-09-27 13:09:27 +00:00
|
|
|
%{_bindir}/mesg
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/namei
|
2023-03-20 12:55:14 +00:00
|
|
|
%{_bindir}/pipesz
|
2012-02-07 13:12:06 +00:00
|
|
|
%{_bindir}/prlimit
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/rename
|
|
|
|
%{_bindir}/rev
|
|
|
|
%{_bindir}/script
|
2019-12-11 11:57:10 +00:00
|
|
|
%{_bindir}/scriptlive
|
2020-07-23 12:51:41 +00:00
|
|
|
%{_bindir}/scriptreplay
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/setarch
|
2024-02-05 09:29:29 +00:00
|
|
|
%{_bindir}/setpgid
|
2013-03-22 13:10:10 +00:00
|
|
|
%{_bindir}/setpriv
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/setterm
|
2021-05-14 08:42:53 +00:00
|
|
|
%{_bindir}/uclampset
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/ul
|
2012-08-16 13:22:02 +00:00
|
|
|
%{_bindir}/utmpdump
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/uuidgen
|
2017-09-22 10:56:40 +00:00
|
|
|
%{_bindir}/uuidparse
|
2023-03-20 12:55:14 +00:00
|
|
|
%{_bindir}/waitpid
|
2013-09-27 13:09:27 +00:00
|
|
|
%{_bindir}/wall
|
2012-08-16 13:22:02 +00:00
|
|
|
%{_bindir}/wdctl
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/whereis
|
|
|
|
%{_mandir}/man1/cal.1*
|
2023-05-18 09:36:49 +00:00
|
|
|
%{_mandir}/man1/chfn.1*
|
2018-11-01 09:09:29 +00:00
|
|
|
%{_mandir}/man1/choom.1*
|
2023-05-18 09:36:49 +00:00
|
|
|
%{_mandir}/man1/chsh.1*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man1/col.1*
|
|
|
|
%{_mandir}/man1/colcrt.1*
|
|
|
|
%{_mandir}/man1/colrm.1*
|
|
|
|
%{_mandir}/man1/column.1*
|
2012-09-06 10:51:38 +00:00
|
|
|
%{_mandir}/man1/eject.1*
|
2024-02-05 09:29:29 +00:00
|
|
|
%{_mandir}/man1/enosys.1*
|
|
|
|
%{_mandir}/man1/exch.1*
|
|
|
|
%{_mandir}/man1/fadvise.1*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man1/fallocate.1*
|
2017-05-17 08:51:15 +00:00
|
|
|
%{_mandir}/man1/fincore.1*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man1/getopt.1*
|
|
|
|
%{_mandir}/man1/hexdump.1*
|
2020-07-23 12:51:41 +00:00
|
|
|
%{_mandir}/man1/irqtop.1*
|
2013-09-27 13:09:27 +00:00
|
|
|
%{_mandir}/man1/last.1*
|
|
|
|
%{_mandir}/man1/lastb.1*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man1/login.1*
|
|
|
|
%{_mandir}/man1/look.1*
|
|
|
|
%{_mandir}/man1/lscpu.1*
|
2024-02-05 09:29:29 +00:00
|
|
|
%{_mandir}/man1/lsclocks.1*
|
2022-01-31 15:22:25 +00:00
|
|
|
%{_mandir}/man1/lsfd.1*
|
2015-07-31 11:10:27 +00:00
|
|
|
%{_mandir}/man1/lsipc.1*
|
2020-07-23 12:51:41 +00:00
|
|
|
%{_mandir}/man1/lsirq.1*
|
2014-06-19 12:39:55 +00:00
|
|
|
%{_mandir}/man1/lslogins.1*
|
2017-05-17 08:51:15 +00:00
|
|
|
%{_mandir}/man1/lsmem.1*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man1/mcookie.1*
|
2013-09-27 13:09:27 +00:00
|
|
|
%{_mandir}/man1/mesg.1*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man1/namei.1*
|
2023-03-20 12:55:14 +00:00
|
|
|
%{_mandir}/man1/pipesz.1.*
|
2012-02-07 13:12:06 +00:00
|
|
|
%{_mandir}/man1/prlimit.1*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man1/rename.1*
|
|
|
|
%{_mandir}/man1/rev.1*
|
2012-11-01 14:09:04 +00:00
|
|
|
%{_mandir}/man1/runuser.1*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man1/script.1*
|
2019-12-11 11:57:10 +00:00
|
|
|
%{_mandir}/man1/scriptlive.1*
|
2020-07-23 12:51:41 +00:00
|
|
|
%{_mandir}/man1/scriptreplay.1*
|
2024-02-05 09:29:29 +00:00
|
|
|
%{_mandir}/man1/setpgid.1*
|
2013-03-22 13:10:10 +00:00
|
|
|
%{_mandir}/man1/setpriv.1*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man1/setterm.1*
|
2012-11-01 14:09:04 +00:00
|
|
|
%{_mandir}/man1/su.1*
|
2021-05-14 08:42:53 +00:00
|
|
|
%{_mandir}/man1/uclampset.1.*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man1/ul.1*
|
2012-08-16 13:22:02 +00:00
|
|
|
%{_mandir}/man1/utmpdump.1.gz
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man1/uuidgen.1*
|
2017-09-22 10:56:40 +00:00
|
|
|
%{_mandir}/man1/uuidparse.1*
|
2023-03-20 12:55:14 +00:00
|
|
|
%{_mandir}/man1/waitpid.1.*
|
2013-09-27 13:09:27 +00:00
|
|
|
%{_mandir}/man1/wall.1*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man1/whereis.1*
|
|
|
|
%{_mandir}/man1/write.1*
|
|
|
|
%{_mandir}/man5/fstab.5*
|
2024-02-05 09:29:29 +00:00
|
|
|
%{_mandir}/man5/scols-filter.5*
|
2014-06-19 12:39:55 +00:00
|
|
|
%{_mandir}/man5/terminal-colors.d.5*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man8/addpart.8*
|
2013-03-22 13:10:10 +00:00
|
|
|
%{_mandir}/man8/blkdiscard.8*
|
2023-03-20 12:55:14 +00:00
|
|
|
%{_mandir}/man8/blkpr.8.*
|
2017-05-17 08:51:15 +00:00
|
|
|
%{_mandir}/man8/blkzone.8*
|
2012-02-07 13:12:06 +00:00
|
|
|
%{_mandir}/man8/chcpu.8*
|
2017-05-17 08:51:15 +00:00
|
|
|
%{_mandir}/man8/chmem.8*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man8/ctrlaltdel.8*
|
|
|
|
%{_mandir}/man8/delpart.8*
|
|
|
|
%{_mandir}/man8/fdisk.8*
|
|
|
|
%{_mandir}/man8/findfs.8*
|
2013-04-10 22:32:07 +00:00
|
|
|
%{_mandir}/man8/fsck.cramfs.8*
|
2012-02-07 13:12:06 +00:00
|
|
|
%{_mandir}/man8/fsck.minix.8*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man8/fsfreeze.8*
|
|
|
|
%{_mandir}/man8/fstrim.8*
|
|
|
|
%{_mandir}/man8/isosize.8*
|
|
|
|
%{_mandir}/man8/ldattach.8*
|
|
|
|
%{_mandir}/man8/lsblk.8*
|
2016-03-22 12:37:27 +00:00
|
|
|
%{_mandir}/man8/lslocks.8*
|
|
|
|
%{_mandir}/man8/lsns.8*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man8/mkfs.8*
|
2013-04-10 22:32:07 +00:00
|
|
|
%{_mandir}/man8/mkfs.cramfs.8*
|
2012-02-07 13:12:06 +00:00
|
|
|
%{_mandir}/man8/mkfs.minix.8*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man8/nologin.8*
|
|
|
|
%{_mandir}/man8/pivot_root.8*
|
2012-02-07 13:12:06 +00:00
|
|
|
%{_mandir}/man8/readprofile.8*
|
2012-08-16 13:22:02 +00:00
|
|
|
%{_mandir}/man8/resizepart.8*
|
2017-10-09 08:42:31 +00:00
|
|
|
%{_mandir}/man8/rfkill.8*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man8/rtcwake.8*
|
|
|
|
%{_mandir}/man8/setarch.8*
|
|
|
|
%{_mandir}/man8/swaplabel.8*
|
2012-08-16 13:22:02 +00:00
|
|
|
%{_mandir}/man8/wdctl.8.gz
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man8/wipefs.8*
|
2015-01-15 14:01:38 +00:00
|
|
|
%{_mandir}/man8/zramctl.8*
|
2012-08-16 13:22:02 +00:00
|
|
|
%{_sbindir}/addpart
|
2013-03-22 13:10:10 +00:00
|
|
|
%{_sbindir}/blkdiscard
|
2023-03-20 12:55:14 +00:00
|
|
|
%{_sbindir}/blkpr
|
2017-05-17 08:51:15 +00:00
|
|
|
%{_sbindir}/blkzone
|
2012-08-16 13:22:02 +00:00
|
|
|
%{_sbindir}/chcpu
|
|
|
|
%{_sbindir}/ctrlaltdel
|
|
|
|
%{_sbindir}/delpart
|
|
|
|
%{_sbindir}/fdisk
|
|
|
|
%{_sbindir}/findfs
|
|
|
|
%{_sbindir}/fsck.cramfs
|
|
|
|
%{_sbindir}/fsck.minix
|
|
|
|
%{_sbindir}/fsfreeze
|
|
|
|
%{_sbindir}/fstrim
|
|
|
|
%{_sbindir}/ldattach
|
|
|
|
%{_sbindir}/mkfs
|
|
|
|
%{_sbindir}/mkfs.cramfs
|
|
|
|
%{_sbindir}/mkfs.minix
|
|
|
|
%{_sbindir}/nologin
|
|
|
|
%{_sbindir}/pivot_root
|
|
|
|
%{_sbindir}/readprofile
|
|
|
|
%{_sbindir}/resizepart
|
2017-10-23 09:56:41 +00:00
|
|
|
%{_sbindir}/rfkill
|
2012-08-16 13:22:02 +00:00
|
|
|
%{_sbindir}/rtcwake
|
2012-11-01 14:09:04 +00:00
|
|
|
%{_sbindir}/runuser
|
2012-08-16 13:22:02 +00:00
|
|
|
%{_sbindir}/swaplabel
|
|
|
|
%{_sbindir}/wipefs
|
2015-01-15 14:01:38 +00:00
|
|
|
%{_sbindir}/zramctl
|
2011-01-19 08:56:35 +00:00
|
|
|
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/addpart
|
|
|
|
%{compldir}/blkdiscard
|
2017-05-17 08:51:15 +00:00
|
|
|
%{compldir}/blkzone
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/cal
|
|
|
|
%{compldir}/chcpu
|
2023-05-18 09:36:49 +00:00
|
|
|
%{compldir}/chfn
|
2017-05-17 08:51:15 +00:00
|
|
|
%{compldir}/chmem
|
2023-05-18 09:36:49 +00:00
|
|
|
%{compldir}/chsh
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/col
|
|
|
|
%{compldir}/colcrt
|
|
|
|
%{compldir}/colrm
|
|
|
|
%{compldir}/column
|
|
|
|
%{compldir}/ctrlaltdel
|
|
|
|
%{compldir}/delpart
|
|
|
|
%{compldir}/eject
|
2024-02-05 09:29:29 +00:00
|
|
|
%{compldir}/enosys
|
|
|
|
%{compldir}/exch
|
2023-05-18 09:36:49 +00:00
|
|
|
%{compldir}/fadvise
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/fallocate
|
|
|
|
%{compldir}/fdisk
|
2017-05-17 08:51:15 +00:00
|
|
|
%{compldir}/fincore
|
|
|
|
%{compldir}/findfs
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/fsck.cramfs
|
|
|
|
%{compldir}/fsck.minix
|
|
|
|
%{compldir}/fsfreeze
|
|
|
|
%{compldir}/fstrim
|
|
|
|
%{compldir}/getopt
|
|
|
|
%{compldir}/hexdump
|
2020-07-23 12:51:41 +00:00
|
|
|
%{compldir}/irqtop
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/isosize
|
2014-06-19 12:39:55 +00:00
|
|
|
%{compldir}/last
|
2022-01-31 15:22:25 +00:00
|
|
|
%{compldir}/lastb
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/ldattach
|
|
|
|
%{compldir}/look
|
|
|
|
%{compldir}/lsblk
|
|
|
|
%{compldir}/lscpu
|
2024-02-05 09:29:29 +00:00
|
|
|
%{compldir}/lsclocks
|
2015-07-31 11:10:27 +00:00
|
|
|
%{compldir}/lsipc
|
2020-07-23 12:51:41 +00:00
|
|
|
%{compldir}/lsirq
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/lslocks
|
2016-03-29 09:51:16 +00:00
|
|
|
%{compldir}/lslogins
|
2017-05-17 08:51:15 +00:00
|
|
|
%{compldir}/lsmem
|
2016-03-29 09:51:16 +00:00
|
|
|
%{compldir}/lsns
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/mcookie
|
2013-09-27 13:09:27 +00:00
|
|
|
%{compldir}/mesg
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/mkfs
|
|
|
|
%{compldir}/mkfs.cramfs
|
|
|
|
%{compldir}/mkfs.minix
|
|
|
|
%{compldir}/namei
|
2023-03-20 12:55:14 +00:00
|
|
|
%{compldir}/pipesz
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/pivot_root
|
|
|
|
%{compldir}/prlimit
|
|
|
|
%{compldir}/readprofile
|
|
|
|
%{compldir}/rename
|
|
|
|
%{compldir}/resizepart
|
|
|
|
%{compldir}/rev
|
2017-10-09 08:42:31 +00:00
|
|
|
%{compldir}/rfkill
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/rtcwake
|
|
|
|
%{compldir}/runuser
|
|
|
|
%{compldir}/script
|
2019-12-11 11:57:10 +00:00
|
|
|
%{compldir}/scriptlive
|
2020-07-23 12:51:41 +00:00
|
|
|
%{compldir}/scriptreplay
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/setarch
|
|
|
|
%{compldir}/setpriv
|
2024-02-05 09:29:29 +00:00
|
|
|
%{compldir}/setpgid
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/setterm
|
|
|
|
%{compldir}/su
|
|
|
|
%{compldir}/swaplabel
|
2021-05-14 08:42:53 +00:00
|
|
|
%{compldir}/uclampset
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/ul
|
|
|
|
%{compldir}/utmpdump
|
|
|
|
%{compldir}/uuidgen
|
2017-09-22 10:56:40 +00:00
|
|
|
%{compldir}/uuidparse
|
2013-09-27 13:09:27 +00:00
|
|
|
%{compldir}/wall
|
2023-05-18 09:36:49 +00:00
|
|
|
%{compldir}/waitpid
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/wdctl
|
|
|
|
%{compldir}/whereis
|
|
|
|
%{compldir}/wipefs
|
|
|
|
%{compldir}/write
|
2015-01-15 14:01:38 +00:00
|
|
|
%{compldir}/zramctl
|
2013-04-10 22:32:07 +00:00
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
%ifnarch s390 s390x
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 14:07:47 +00:00
|
|
|
%{_sbindir}/clock
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_sbindir}/fdformat
|
|
|
|
%{_sbindir}/hwclock
|
|
|
|
%{_mandir}/man8/fdformat.8*
|
|
|
|
%{_mandir}/man8/hwclock.8*
|
|
|
|
%{_mandir}/man8/clock.8*
|
2018-11-01 10:24:45 +00:00
|
|
|
%{_mandir}/man5/adjtime_config.5*
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/fdformat
|
|
|
|
%{compldir}/hwclock
|
2011-01-19 08:56:35 +00:00
|
|
|
%endif
|
|
|
|
|
2011-01-19 09:39:22 +00:00
|
|
|
%ifnarch %{sparc}
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 14:07:47 +00:00
|
|
|
%{_sbindir}/cfdisk
|
|
|
|
%{_sbindir}/sfdisk
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man8/cfdisk.8*
|
|
|
|
%{_mandir}/man8/sfdisk.8*
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/cfdisk
|
|
|
|
%{compldir}/sfdisk
|
2011-01-19 08:56:35 +00:00
|
|
|
%endif
|
|
|
|
|
2011-01-19 09:39:22 +00:00
|
|
|
%ifarch %{sparc}
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_bindir}/sunhostid
|
|
|
|
%endif
|
|
|
|
|
2016-03-22 12:37:27 +00:00
|
|
|
|
2021-06-01 10:23:41 +00:00
|
|
|
%files -n util-linux-core
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/*
|
2021-06-01 10:23:41 +00:00
|
|
|
%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
|
2021-08-17 08:43:34 +00:00
|
|
|
%{compldir}/hardlink
|
2021-06-01 10:23:41 +00:00
|
|
|
%{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*
|
2023-12-01 19:12:29 +00:00
|
|
|
%{_mandir}/man8/sulogin.8*
|
2021-06-01 10:23:41 +00:00
|
|
|
%{_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
|
2023-12-01 19:12:29 +00:00
|
|
|
%{_sbindir}/sulogin
|
2021-06-01 10:23:41 +00:00
|
|
|
%{_sbindir}/swapoff
|
|
|
|
%{_sbindir}/swapon
|
|
|
|
%{_sbindir}/switch_root
|
2022-02-17 12:58:21 +00:00
|
|
|
/etc/mtab
|
2021-06-01 10:23:41 +00:00
|
|
|
|
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
%files -n uuidd
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/COPYING.GPL-2.0-only
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man8/uuidd.8*
|
2013-02-03 15:54:28 +00:00
|
|
|
%{_sbindir}/uuidd
|
2014-07-24 08:34:39 +00:00
|
|
|
%{_unitdir}/uuidd.*
|
2011-01-19 08:56:35 +00:00
|
|
|
%dir %attr(2775, uuidd, uuidd) /var/lib/libuuid
|
2012-08-16 13:22:02 +00:00
|
|
|
%dir %attr(2775, uuidd, uuidd) /run/uuidd
|
2013-04-10 22:32:07 +00:00
|
|
|
%{compldir}/uuidd
|
2022-08-22 10:00:27 +00:00
|
|
|
%{_tmpfilesdir}/uuidd.conf
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
|
2015-01-15 14:01:38 +00:00
|
|
|
%files -n libfdisk
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later
|
2015-01-15 14:01:38 +00:00
|
|
|
%{_libdir}/libfdisk.so.*
|
|
|
|
|
|
|
|
%files -n libfdisk-devel
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later
|
2015-01-15 14:01:38 +00:00
|
|
|
%{_libdir}/libfdisk.so
|
|
|
|
%{_includedir}/libfdisk
|
|
|
|
%{_libdir}/pkgconfig/fdisk.pc
|
|
|
|
|
|
|
|
|
2014-06-19 12:39:55 +00:00
|
|
|
%files -n libsmartcols
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later
|
2014-06-19 12:39:55 +00:00
|
|
|
%{_libdir}/libsmartcols.so.*
|
|
|
|
|
|
|
|
%files -n libsmartcols-devel
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later
|
2014-06-19 12:39:55 +00:00
|
|
|
%{_libdir}/libsmartcols.so
|
|
|
|
%{_includedir}/libsmartcols
|
|
|
|
%{_libdir}/pkgconfig/smartcols.pc
|
|
|
|
|
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
%files -n libmount
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 14:07:47 +00:00
|
|
|
%{_libdir}/libmount.so.*
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
%files -n libmount-devel
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_libdir}/libmount.so
|
2011-01-25 14:33:36 +00:00
|
|
|
%{_includedir}/libmount
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_libdir}/pkgconfig/mount.pc
|
|
|
|
|
|
|
|
|
|
|
|
%files -n libblkid
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 14:07:47 +00:00
|
|
|
%{_libdir}/libblkid.so.*
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
%files -n libblkid-devel
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_libdir}/libblkid.so
|
|
|
|
%{_includedir}/blkid
|
|
|
|
%{_mandir}/man3/libblkid.3*
|
|
|
|
%{_libdir}/pkgconfig/blkid.pc
|
|
|
|
|
|
|
|
|
|
|
|
%files -n libuuid
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/COPYING.BSD-3-Clause
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 14:07:47 +00:00
|
|
|
%{_libdir}/libuuid.so.*
|
2011-01-19 08:56:35 +00:00
|
|
|
|
|
|
|
%files -n libuuid-devel
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/COPYING.BSD-3-Clause Documentation/licenses/COPYING.LGPL-2.1-or-later
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_libdir}/libuuid.so
|
|
|
|
%{_includedir}/uuid
|
|
|
|
%{_mandir}/man3/uuid.3*
|
|
|
|
%{_mandir}/man3/uuid_clear.3*
|
|
|
|
%{_mandir}/man3/uuid_compare.3*
|
|
|
|
%{_mandir}/man3/uuid_copy.3*
|
|
|
|
%{_mandir}/man3/uuid_generate.3*
|
|
|
|
%{_mandir}/man3/uuid_generate_random.3*
|
|
|
|
%{_mandir}/man3/uuid_generate_time.3*
|
2011-08-02 14:56:01 +00:00
|
|
|
%{_mandir}/man3/uuid_generate_time_safe.3*
|
2011-01-19 08:56:35 +00:00
|
|
|
%{_mandir}/man3/uuid_is_null.3*
|
|
|
|
%{_mandir}/man3/uuid_parse.3*
|
|
|
|
%{_mandir}/man3/uuid_time.3*
|
|
|
|
%{_mandir}/man3/uuid_unparse.3*
|
|
|
|
%{_libdir}/pkgconfig/uuid.pc
|
|
|
|
|
2015-08-12 08:56:45 +00:00
|
|
|
%files -n %{pypkg}-libmount
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/COPYING.LGPL-2.1-or-later
|
2018-01-03 15:24:53 +00:00
|
|
|
%{_libdir}/python*/site-packages/libmount/
|
2013-09-27 13:09:27 +00:00
|
|
|
|
2023-05-18 09:36:49 +00:00
|
|
|
%files -n util-linux-i18n -f %{name}.lang
|
2024-02-28 13:27:30 +00:00
|
|
|
%license Documentation/licenses/COPYING.GPL-2.0-or-later
|
2023-05-18 09:36:49 +00:00
|
|
|
|
2011-01-19 08:56:35 +00:00
|
|
|
%changelog
|
2024-02-07 11:54:33 +00:00
|
|
|
%autochangelog
|
2024-02-05 09:29:29 +00:00
|
|
|
|