###############################################################################
name = util-linux
-major_ver = 2.22
-minor_ver = 1
+major_ver = 2.25
+minor_ver = 2
version = %{major_ver}.%{minor_ver}
release = 1
maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
groups = System/Base
-url = http://kernel.org/~kzak/util-linux/
+url = https://github.com/karelzak/util-linux
license = GPLv2 and GPLv2+ and BSD with advertising and Public Domain
summary = A collection of basic system utilities.
build
requires
audit-devel
+ automake >= 1.13
coreutils >= 8.19
gettext
libcap-devel
+ libcap-ng-devel
libselinux-devel
libsepol-devel
+ libudev-devel
ncurses-devel
pam-devel
- libudev-devel
+ python3-devel
+ systemd-devel >= 215
zlib-devel
end
--enable-kill \
--enable-partx \
--enable-write \
+ --enable-runuser \
--enable-su \
- --enable-socket-activation \
- --enable-libmount-mount \
+ --with-systemd \
--with-selinux \
--with-audit \
--with-udev \
--disable-makeinstall-chown \
- --disable-static
+ --disable-static \
+ --disable-rpath \
+ --with-python=3
prepare_cmds
sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
/sbin/findfs
/sbin/fsck
/sbin/nologin
+ /sbin/runuser
end
obsoletes
conflicts
filesystem < 002
+ bash-completion <= 2.1-2
coreutils < 8.19
setup < 3.0-2
util-linux-ng
end
end
+ # Package information for libsmartcols.
+ package libsmartcols
+ summary = Formatting library for ls-like programs.
+ description
+ This is a library for ls-like terminal
+ programs, part of util-linux.
+ end
+
+ files
+ %{libdir}/libsmartcols.*
+ end
+ end
+
+ # Package information for libsmartcols-devel.
+ package libsmartcols-devel
+ summary = Development library and header of libsmartcols.
+ description = %{summary}
+
+ files
+ %{includedir}/libsmartcols/*
+ %{libdir}/libsmartcols.so
+ %{libdir}/pkgconfig/smartcols.pc
+ end
+ end
+
package uuidd
summary = Helper daemon to guarantee uniqueness of time-based UUIDs.
description
prerequires += shadow-utils
+ requires
+ systemd-libs >= 215
+ end
+
script prein
getent group uuidd >/dev/null || groupadd -r uuidd
getent passwd uuidd >/dev/null || \
systemctl try-restart uuidd.service >/dev/null 2>&1 || :
end
end
+
+ package python3-libmount
+ template PYTHON3
+ end
package %{name}-debuginfo
template DEBUGINFO