]> git.pld-linux.org Git - packages/util-linux.git/blobdiff - util-linux.spec
- added systemd bcond to allow building without BR systemd dependency
[packages/util-linux.git] / util-linux.spec
index 60bceb46e384b14ca022f8103d5c35a8aa71a7e6..d17314246c25d1fe1971a209b929c380f538916b 100644 (file)
@@ -1,17 +1,20 @@
 # TODO
-# - remote chfn/chsh (BR: libuser)?
+# - remote chfn/chsh (BR: libuser >= 0.58)? - but PLD uses pwdutils/shadow implementation currently
 # - verify initrd tools set:
 #   - I've taken list from 2.21.3 package, but there was no explicit list, so
 #     there are probably some unneeded tools
 #   - chrt is not built now (because of --disable-schedutils), but it's probably not needed
 #   - fsck is not built now (because of --disable-libmount)
 #   - maybe we want some more now?
+# - agetty: Documentation/releases/v2.32-ReleaseNotes:54:   - add support for /etc/issue.d  [Karel Zak]
+#   https://github.com/karelzak/util-linux/commit/1fc82a1360305f696dc1be6105c9c56a9ea03f52#diff-d7efd2b3dbb10e54185f001dc21d43db
 #
 # Conditional build:
 %bcond_with    uClibc          # link initrd version with static glibc instead of uClibc
 %bcond_without dietlibc        # link initrd version with dietlibc instead of uClibc
-%bcond_without selinux         # SELinux support
+%bcond_without selinux         # SELinux support
 %bcond_without su              # su/runuser programs
+%bcond_without systemd         # systemd
 %if "%{pld_release}" == "ac"
 %bcond_with    initrd          # don't build initrd version
 %bcond_with    fallocate       # fallocate utility (needs glibc 2.11 to compile)
@@ -23,7 +26,7 @@
 %if "%{pld_release}" == "ac"
 %define                pam_ver 0.79.0
 %else
-%define                pam_ver 0.99.7.1
+%define                pam_ver 1:1.1.8-5
 %endif
 
 Summary:       Collection of basic system utilities for Linux
@@ -36,18 +39,18 @@ Summary(ru.UTF-8):  Набор базовых системных утилит д
 Summary(tr.UTF-8):     Temel sistem araçları
 Summary(uk.UTF-8):     Набір базових системних утиліт для Linux
 Name:          util-linux
-Version:       2.24.2
-Release:       1
-License:       GPL
+Version:       2.36.2
+Release:       2
+License:       GPL v2+, GPL v3 (hwclock)
 Group:         Applications/System
-Source0:       https://www.kernel.org/pub/linux/utils/util-linux/v2.24/%{name}-%{version}.tar.xz
-# Source0-md5: 3f191727a0d28f7204b755cf1b6ea0aa
+# https://github.com/karelzak/util-linux (GitHub backup)
+Source0:       https://www.kernel.org/pub/linux/utils/util-linux/v2.36/%{name}-%{version}.tar.xz
+# Source0-md5: f78419af679ac9678190ad961eb3cf27
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: 3c940c7e7fe699eaa2ddb1bffb3de2fe
 Source2:       login.pamd
 Source3:       %{name}-blockdev.init
 Source4:       %{name}-blockdev.sysconfig
-Source5:       blockdev.upstart
 Source6:       su.pamd
 Source7:       su-l.pamd
 Source8:       runuser.pamd
@@ -56,24 +59,27 @@ Source10:   nologin.c
 Source11:      nologin.8
 Source12:      blockdev.service
 Source13:      blockdev.sh
-Patch0:                %{name}-pl.po-update.patch
-Patch1:                %{name}-ng-union-mount.patch
-
-Patch3:                %{name}-fdformat-ide.patch
-Patch4:                %{name}-fhs.patch
-Patch7:                %{name}-login-lastlog.patch
-Patch8:                %{name}-procpartitions.patch
-Patch9:                su-paths.patch
-Patch10:       %{name}-diet.patch
-URL:           http://userweb.kernel.org/~kzak/util-linux/
+Patch0:                %{name}-fdformat-ide.patch
+Patch1:                %{name}-fhs.patch
+Patch2:                %{name}-login-lastlog.patch
+Patch3:                %{name}-procpartitions.patch
+Patch4:                su-paths.patch
+Patch5:                %{name}-ac.patch
+Patch6:                %{name}-diet.patch
+Patch7:                %{name}-pl.po.patch
+URL:           https://github.com/karelzak/util-linux
 BuildRequires: audit-libs-devel >= 1.0.6
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake >= 1:1.10
-BuildRequires: gettext-devel >= 0.14.1
+BuildRequires: gettext-tools >= 0.18.3
 %{?with_fallocate:BuildRequires:       glibc-devel >= 6:2.11}
 BuildRequires: gtk-doc >= 1.10
 BuildRequires: gtk-doc-automake >= 1.10
 BuildRequires: libcap-ng-devel
+%ifarch ppc ppc64
+# for lscpu
+BuildRequires: librtas-devel
+%endif
 %{?with_selinux:BuildRequires: libselinux-devel >= 2.0}
 %{?with_selinux:BuildRequires: libsepol-devel}
 BuildRequires: libtool >= 2:2.2
@@ -82,9 +88,11 @@ BuildRequires:       ncurses-devel >= 5.0
 BuildRequires: pam-devel >= %{pam_ver}
 BuildRequires: pkgconfig
 BuildRequires: python3-devel
+BuildRequires: readline-devel
 BuildRequires: rpm >= 4.4.9-56
-BuildRequires: rpmbuild(macros) >= 1.671
+BuildRequires: rpmbuild(macros) >= 1.752
 BuildRequires: sed >= 4.0
+%{?with_systemd:BuildRequires: systemd-devel >= 1:209}
 BuildRequires: tar >= 1:1.22
 BuildRequires: udev-devel
 BuildRequires: xz
@@ -101,17 +109,23 @@ BuildRequires:    glibc-static
        %endif
 %endif
 Requires:      libblkid = %{version}-%{release}
+Requires:      libfdisk = %{version}-%{release}
+Requires:      libmount = %{version}-%{release}
 %{?with_selinux:Requires:      libselinux >= 2.0}
+Requires:      libsmartcols = %{version}-%{release}
 Requires:      pam >= %{pam_ver}
 Provides:      eject = %{version}-%{release}
 Provides:      fdisk
+Provides:      hardlink
 Provides:      linux32
 Provides:      sparc32
 Obsoletes:     cramfs
 Obsoletes:     eject
+Obsoletes:     hardlink
 Obsoletes:     ionice
 Obsoletes:     linux32
 Obsoletes:     rawdevices
+Obsoletes:     rfkill
 Obsoletes:     schedutils
 Obsoletes:     setarch
 Obsoletes:     sparc32
@@ -194,6 +208,7 @@ uygulamaları ve logger gibi sistem programları sayılabilir.
 %package -n blockdev
 Summary:       Support for blockdev
 Summary(pl.UTF-8):     Obsługa blockdev
+License:       GPL v2+
 Group:         Applications/System
 Requires(post,preun):  /sbin/chkconfig
 Requires(post,preun,postun):   systemd-units >= 38
@@ -219,7 +234,9 @@ Summary(pl.UTF-8):  Program do konfiguracji urządzenia blokowego loopback
 Summary(ru.UTF-8):     Программы для настройки loopback-устройств
 Summary(tr.UTF-8):     Yerel-çevrim aygıtlarının kurulması ve ayarlanması için programlar
 Summary(uk.UTF-8):     Програми для конфігурації loopback-пристроїв
+License:       GPL v2+
 Group:         Applications/System
+Requires:      libsmartcols = %{version}-%{release}
 
 %description -n losetup
 Linux supports a special block device called the loopback device,
@@ -287,10 +304,11 @@ Summary(pl.UTF-8):        Programy do montowania i odmontowywania systemów plików
 Summary(ru.UTF-8):     Программы для монтирования и размонтирования файловых систем
 Summary(tr.UTF-8):     Dosya sistemlerini bağlamak ve çözmek için programlar
 Summary(uk.UTF-8):     Програми для монтування та розмонтування файлових систем
+License:       GPL v2+
 Group:         Applications/System
 Requires:      libmount = %{version}-%{release}
+Requires:      libsmartcols = %{version}-%{release}
 Conflicts:     SysVinit < 2.86-26
-Conflicts:     upstart-SysVinit < 2.86-28
 # C: nfs-utils-common is opposite to http://cvs.pld-linux.org/packages/nfs-utils/nfs-utils.spec?r1=1.165&r2=1.166
 Conflicts:     nfs-utils-common < 1.1.3-3
 
@@ -377,6 +395,7 @@ Paralel bağlantı noktası sürücüsünü ayarlar.
 %package -n login
 Summary:       login is used when signing onto a system
 Summary(pl.UTF-8):     login jest używany do rozpoczęcia pracy w systemie
+License:       GPL v2+
 Group:         Applications/System
 Requires:      pam >= %{pam_ver}
 Obsoletes:     heimdal-login
@@ -394,6 +413,7 @@ do przełączania z jednego użytkownika na innego w każdym momencie
 %package -n agetty
 Summary:       Alternative Linux getty
 Summary(pl.UTF-8):     Alternatywny getty
+License:       GPL v2+
 Group:         Applications/System
 Requires:      login
 
@@ -408,7 +428,6 @@ Summary:    Library to handle device identification and token extraction
 Summary(pl.UTF-8):     Biblioteka do obsługi identyfikacji urządzeń
 License:       LGPL v2.1+
 Group:         Libraries
-Requires:      libuuid = %{version}-%{release}
 Obsoletes:     util-linux-ng-libs < 2.20-1
 
 %description -n libblkid
@@ -423,7 +442,6 @@ Summary(pl.UTF-8):  Pliki nagłówkowe biblioteki blkid
 License:       LGPL v2.1+
 Group:         Development/Libraries
 Requires:      libblkid = %{version}-%{release}
-Requires:      libuuid-devel = %{version}-%{release}
 Obsoletes:     util-linux-ng-devel < 2.20-1
 
 %description -n libblkid-devel
@@ -438,7 +456,6 @@ Summary(pl.UTF-8):  Statyczna biblioteka do obsługi identyfikacji urządzeń
 License:       LGPL v2.1+
 Group:         Development/Libraries
 Requires:      libblkid-devel = %{version}-%{release}
-Requires:      libuuid-static = %{version}-%{release}
 Obsoletes:     util-linux-ng-static < 2.20-1
 
 %description -n libblkid-static
@@ -454,7 +471,6 @@ Summary(pl.UTF-8):  Statyczna biblioteka dietlibc do obsługi identyfikacji urzą
 License:       LGPL v2.1+
 Group:         Development/Libraries
 Requires:      libblkid-devel = %{version}-%{release}
-Requires:      libuuid-dietlibc = %{version}-%{release}
 
 %description -n libblkid-dietlibc
 Library to handle device identification and token extraction - static
@@ -524,7 +540,7 @@ dietlibc.
 %package -n uuidd
 Summary:       Helper daemon to guarantee uniqueness of time-based UUIDs
 Summary(pl.UTF-8):     Pomocniczy demon gwarantujący unikalność UUID-ów opartych na czasie
-License:       GPL v2
+License:       GPL v2+
 Group:         Daemons
 Requires(postun):      /usr/sbin/groupdel
 Requires(postun):      /usr/sbin/userdel
@@ -551,10 +567,52 @@ Ten pakiet zawiera działającego w przestrzeni użytkownika demona
 (uuidd) gwarantującego unikalność generowania UUID-ów opartych na
 czasie nawet przy bardzo dużej częstotliwości na systemach SMP.
 
+%package -n libfdisk
+Summary:       fdisk library
+Summary(pl.UTF-8):     Biblioteka fdisk
+License:       LGPL v2.1+
+Group:         Libraries
+Requires:      libblkid = %{version}-%{release}
+Requires:      libuuid = %{version}-%{release}
+
+%description -n libfdisk
+fdisk library.
+
+%description -n libfdisk -l pl.UTF-8
+Biblioteka fdisk.
+
+%package -n libfdisk-devel
+Summary:       Header files for fdisk library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki fdisk
+License:       LGPL v2.1+
+Group:         Development/Libraries
+Requires:      libblkid-devel = %{version}-%{release}
+Requires:      libfdisk = %{version}-%{release}
+Requires:      libuuid-devel = %{version}-%{release}
+
+%description -n libfdisk-devel
+Header files for fdisk library.
+
+%description -n libfdisk-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki fdisk.
+
+%package -n libfdisk-static
+Summary:       Static version of fdisk library
+Summary(pl.UTF-8):     Statyczna wersja biblioteki fdisk
+License:       LGPL v2.1+
+Group:         Development/Libraries
+Requires:      libfdisk-devel = %{version}-%{release}
+
+%description -n libfdisk-static
+Static version of fdisk library.
+
+%description -n libfdisk-static -l pl.UTF-8
+Statyczna wersja biblioteki fdisk.
+
 %package -n libmount
 Summary:       Library to handle mounting-related tasks
 Summary(pl.UTF-8):     Biblioteka obsługująca zadania związane z montowaniem
-License:       LGPL
+License:       LGPL v2.1+
 Group:         Libraries
 Requires:      libblkid = %{version}-%{release}
 
@@ -567,7 +625,7 @@ Biblioteka obsługująca zadania związane z montowaniem.
 %package -n libmount-devel
 Summary:       Header files for mount library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki mount
-License:       LGPL
+License:       LGPL v2.1+
 Group:         Development/Libraries
 Requires:      libblkid-devel = %{version}-%{release}
 Requires:      libmount = %{version}-%{release}
@@ -581,7 +639,7 @@ Pliki nagłówkowe biblioteki mount.
 %package -n libmount-static
 Summary:       Static version of mount library
 Summary(pl.UTF-8):     Statyczna wersja biblioteki mount
-License:       LGPL
+License:       LGPL v2.1+
 Group:         Development/Libraries
 Requires:      libmount-devel = %{version}-%{release}
 
@@ -591,25 +649,23 @@ Static version of mount library.
 %description -n libmount-static -l pl.UTF-8
 Statyczna wersja biblioteki mount.
 
-%package -n libmount-dietlibc
-Summary:       Static dietlibc mount library
-Summary(pl.UTF-8):     Statyczna biblioteka mount dla dietlibc
-License:       LGPL v2.1+
-Group:         Development/Libraries
-Requires:      libblkid-devel = %{version}-%{release}
-Requires:      libblkid-dietlibc = %{version}-%{release}
-Requires:      libuuid-devel = %{version}-%{release}
-Requires:      libuuid-dietlibc = %{version}-%{release}
+%package -n python3-libmount
+Summary:       Python 3.x libmount bindings
+Summary(pl.UTF-8):     Wiązania Pythona 3.x do biblioteki libmount
+License:       LGPL v3+
+Group:         Libraries/Python
+Requires:      libmount = %{version}-%{release}
 
-%description -n libmount-dietlibc
-Static dietlibc version of mount library.
+%description -n python3-libmount
+Python 3.x libmount bindings.
 
-%description -n libmount-dietlibc -l pl.UTF-8
-Statyczna wersja biblioteki mount dla dietlibc.
+%description -n python3-libmount -l pl.UTF-8
+Wiązania Pythona 3.x do biblioteki libmount.
 
 %package -n fsck
 Summary:       Check and repair a Linux file system
 Summary(pl.UTF-8):     Sprawdzanie i naprawa linuksowego systemu plików
+License:       GPL v2+
 Group:         Applications/System
 Requires:      libblkid = %{version}-%{release}
 
@@ -619,9 +675,48 @@ Check and repair a Linux file system.
 %description -n fsck -l pl.UTF-8
 Sprawdzanie i naprawa linuksowego systemu plików.
 
+%package -n libsmartcols
+Summary:       Library to handle tables and trees
+Summary(pl.UTF-8):     Biblioteka do obsługi tabelek i drzewek
+License:       LGPL v2+
+Group:         Libraries
+
+%description -n libsmartcols
+Library to handle tables and trees.
+
+%description -n libsmartcols -l pl.UTF-8
+Biblioteka do obsługi tabelek i drzewek.
+
+%package -n libsmartcols-devel
+Summary:       Header files for smartcols library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki smartcols
+License:       LGPL v2+
+Group:         Development/Libraries
+Requires:      libsmartcols = %{version}-%{release}
+
+%description -n libsmartcols-devel
+Header files for smartcols library.
+
+%description -n libsmartcols-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki smartcols.
+
+%package -n libsmartcols-static
+Summary:       Static version of smartcols library
+Summary(pl.UTF-8):     Statyczna wersja biblioteki smartcols
+License:       LGPL v2+
+Group:         Development/Libraries
+Requires:      libsmartcols-devel = %{version}-%{release}
+
+%description -n libsmartcols-static
+Static version of smartcols library.
+
+%description -n libsmartcols-static -l pl.UTF-8
+Statyczna wersja biblioteki smartcols.
+
 %package initrd
 Summary:       blkid - initrd version
 Summary(pl.UTF-8):     blkid - wersja dla initrd
+License:       GPL v2+
 Group:         Base
 Obsoletes:     util-linux-ng-initrd < 2.20-1
 Conflicts:     geninitrd < 10000.10
@@ -637,12 +732,12 @@ etykietę lub UUID - statycznie skonsolidowane na potrzeby initrd.
 %package -n bash-completion-util-linux
 Summary:       bash completion for util-linux commands
 Summary(pl.UTF-8):     Bashowe dopełnianie parametrów dla poleceń z pakietu util-linux
+License:       GPL v2+
 Group:         Applications/Shells
 Requires:      %{name} = %{version}-%{release}
 Requires:      bash-completion >= 2.0
-%if "%{_rpmversion}" >= "5"
+Requires:      gawk
 BuildArch:     noarch
-%endif
 
 %description -n bash-completion-util-linux
 Bash completion for util-linux commands.
@@ -650,29 +745,16 @@ Bash completion for util-linux commands.
 %description -n bash-completion-util-linux -l pl.UTF-8
 Bashowe dopełnianie parametrów dla poleceń z pakietu util-linux.
 
-%package -n python3-libmount
-Summary:       Python 3.x libmount bindings
-Summary(pl.UTF-8):     Wiązania Pythona 3.x do biblioteki libmount
-Group:         Libraries/Python
-Requires:      libmount = %{version}-%{release}
-
-%description -n python3-libmount
-Python 3.x libmount bindings.
-
-%description -n python3-libmount -l pl.UTF-8
-Wiązania Pythona 3.x do biblioteki libmount.
-
 %prep
 %setup -q -a1
 %patch0 -p1
 %patch1 -p1
-
+%patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+%{?with_initrd:%patch6 -p1}
 %patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%{?with_initrd:%patch10 -p1}
 
 cp -p %{SOURCE10} nologin.c
 
@@ -705,6 +787,7 @@ export CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses -DHAVE_LSEEK64_PROTOTYPE
        --libdir=/%{_lib} \
        --disable-shared \
        --enable-static \
+       --enable-libmount-force-mountinfo \
        --disable-agetty \
        --disable-chfn-chsh \
        --disable-cramfs \
@@ -713,6 +796,8 @@ export CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses -DHAVE_LSEEK64_PROTOTYPE
        --disable-libmount \
        --disable-login \
        --disable-losetup \
+       --disable-makeinstall-chown \
+       --disable-makeinstall-setuid \
        --disable-minix \
        --disable-newgrp \
        --disable-partx \
@@ -756,6 +841,9 @@ export CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses -DHAVE_LSEEK64_PROTOTYPE
        --bindir=/bin \
        --sbindir=/sbin \
        %{!?with_fallocate:--disable-fallocate} \
+       --enable-libmount-support-mtab \
+       --disable-makeinstall-chown \
+       --disable-makeinstall-setuid \
        --disable-silent-rules \
        --disable-use-tty-group \
        --disable-wall \
@@ -767,6 +855,7 @@ export CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses -DHAVE_LSEEK64_PROTOTYPE
        --enable-login-chown-vcs \
        --enable-newgrp \
        --enable-partx \
+       --enable-pg \
        --enable-runuser%{!?with_su:=no} \
        --enable-su%{!?with_su:=no} \
        --enable-sulogin \
@@ -778,7 +867,10 @@ export CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses -DHAVE_LSEEK64_PROTOTYPE
        --with-audit \
        --with-bashcompletiondir=/usr/share/bash-completion/completions \
        --with-selinux%{!?with_selinux:=no} \
-       --with-smack
+       --with-smack \
+       --with-readline \
+       %{!?with_systemd:--without-systemd}
+
 
 %{__make}
 
@@ -786,7 +878,7 @@ export CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses -DHAVE_LSEEK64_PROTOTYPE
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/{pam.d,rc.d/init.d,sysconfig,init,security} \
+install -d $RPM_BUILD_ROOT/etc/{pam.d,rc.d/init.d,sysconfig,security,terminal-colors.d} \
        $RPM_BUILD_ROOT{/%{_lib},/var/{lock,lib/libuuid}} \
        $RPM_BUILD_ROOT{/lib/systemd/pld-helpers.d,%{systemdunitdir}}
 %{?with_dietlibc:install -d $RPM_BUILD_ROOT%{dietlibdir}}
@@ -794,8 +886,8 @@ install -d $RPM_BUILD_ROOT/etc/{pam.d,rc.d/init.d,sysconfig,init,security} \
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT%{_sbindir}/{addpart,delpart,partx} $RPM_BUILD_ROOT/sbin
-mv $RPM_BUILD_ROOT/sbin/raw $RPM_BUILD_ROOT%{_bindir}
+%{__mv} $RPM_BUILD_ROOT%{_sbindir}/{addpart,delpart,partx} $RPM_BUILD_ROOT/sbin
+%{__mv} $RPM_BUILD_ROOT/sbin/raw $RPM_BUILD_ROOT%{_bindir}
 
 install -p nologin $RPM_BUILD_ROOT/sbin
 cp -p %{SOURCE11} $RPM_BUILD_ROOT%{_mandir}/man8
@@ -803,7 +895,6 @@ cp -p %{SOURCE11} $RPM_BUILD_ROOT%{_mandir}/man8
 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/login
 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/blockdev
 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/blockdev
-cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/init/blockdev.conf
 cp -p %{SOURCE12} $RPM_BUILD_ROOT%{systemdunitdir}/blockdev.service
 cp -p %{SOURCE13} $RPM_BUILD_ROOT/lib/systemd/pld-helpers.d/blockdev.sh
 %if %{with su}
@@ -818,12 +909,17 @@ cp -p %{SOURCE9} $RPM_BUILD_ROOT/etc/pam.d/runuser-l
 :> $RPM_BUILD_ROOT/var/lock/wtmpxlock
 :> $RPM_BUILD_ROOT%{_sysconfdir}/blkid.tab
 
-for lib in blkid uuid mount; do
+for lib in blkid fdisk mount smartcols uuid; do
        mv $RPM_BUILD_ROOT%{_libdir}/lib${lib}.so.* $RPM_BUILD_ROOT/%{_lib}
        ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${lib}.so.*.*.*) \
                 $RPM_BUILD_ROOT%{_libdir}/lib${lib}.so
 done
 
+# python module
+%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/libmount/pylibmount.la
+# obsoleted by pkg-config (libuuid.la temporarily kept because of packages built with it)
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{blkid,fdisk,mount,smartcols}.la
+
 ln -s hwclock $RPM_BUILD_ROOT/sbin/clock
 echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/man8/clock.8
 
@@ -860,7 +956,8 @@ echo '.so man8/swapon.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/swapoff.8
        $RPM_BUILD_ROOT%{_mandir}/man8/{vigr,vipw}.8 \
        $RPM_BUILD_ROOT%{_mandir}/*/man1/{arch,chkdupexe,ddate,reset}.1 \
        $RPM_BUILD_ROOT%{_mandir}/*/man5/nfs.5 \
-       $RPM_BUILD_ROOT%{_mandir}/*/man8/{elvtune,setfdprm,sln,ramsize,raw,rdev,rootflags,vidmode}.8
+       $RPM_BUILD_ROOT%{_mandir}/*/man8/{cytune,elvtune,setfdprm,sln,ramsize,raw,rdev,rootflags,vidmode}.8 \
+       $RPM_BUILD_ROOT%{bash_compdir}/{chfn,chsh,newgrp}
 
 %ifarch sparc sparcv9 sparc64
 # programs not built on sparc
@@ -870,8 +967,6 @@ echo '.so man8/swapon.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/swapoff.8
 # examples
 %{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/getopt/getopt-parse.*sh
 
-%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/libmount/pylibmount.la
-
 %if %{with initrd}
 install -d $RPM_BUILD_ROOT%{_libdir}/initrd
 install -p initrd/bin/* $RPM_BUILD_ROOT%{_libdir}/initrd
@@ -879,7 +974,7 @@ install -p initrd/sbin/* $RPM_BUILD_ROOT%{_libdir}/initrd
 ln -s fsck $RPM_BUILD_ROOT%{_libdir}/initrd/e2fsck
 
 # We don't need those
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/initrd/{cal,col,colcrt,colrm,column,ctrlaltdel,cytune,dmesg,flock,fsfreeze,fstrim,getopt,hexdump,ipcmk,ipcrm,ipcs,isosize,logger,lslocks,mcookie,mkfs*,readprofile,renice,rev,rtcwake,script,scriptreplay,setsid,tailf,tunelp,wdctl,whereis}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/initrd/{cal,col,colcrt,colrm,column,ctrlaltdel,dmesg,flock,fsfreeze,fstrim,getopt,hexdump,ipcmk,ipcrm,ipcs,isosize,logger,lslocks,mcookie,mkfs*,readprofile,renice,rev,rtcwake,script,scriptreplay,setsid,tunelp,wdctl,whereis}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{blkid,mount}.la
 
 %if %{with dietlibc}
@@ -932,16 +1027,24 @@ if [ "$1" = "0" ]; then
        %groupremove uuidd
 fi
 
+%post  -n libfdisk -p /sbin/ldconfig
+%postun -n libfdisk -p /sbin/ldconfig
+
 %post  -n libmount -p /sbin/ldconfig
 %postun -n libmount -p /sbin/ldconfig
 
+%post  -n libsmartcols -p /sbin/ldconfig
+%postun -n libsmartcols -p /sbin/ldconfig
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README README.licensing Documentation misc-utils/getopt-parse.{bash,tcsh}
+%dir /etc/terminal-colors.d
 
 %attr(755,root,root) /sbin/clock
 %attr(755,root,root) /sbin/hwclock*
 %attr(755,root,root) /sbin/nologin
+%{_mandir}/man5/adjtime_config.5*
 %{_mandir}/man8/clock.8*
 %{_mandir}/man8/hwclock.8*
 %{_mandir}/man8/nologin.8*
@@ -964,10 +1067,10 @@ fi
 %attr(755,root,root) %{_bindir}/s390*
 %{_mandir}/man8/s390*
 %endif
-%ifarch %{ix86} %{x8664}
+%ifarch %{ix86} %{x8664} x32
 %attr(755,root,root) %{_bindir}/i386
 %{_mandir}/man8/i386*
-%ifarch %{x8664}
+%ifarch %{x8664} x32
 %attr(755,root,root) %{_bindir}/x86_64
 %{_mandir}/man8/x86_64*
 %endif
@@ -989,44 +1092,49 @@ fi
 
 %attr(755,root,root) /bin/dmesg
 %attr(755,root,root) /bin/kill
+%attr(755,root,root) /bin/lsblk
 %attr(755,root,root) /bin/more
-
 %attr(755,root,root) /bin/wdctl
 
-%attr(755,root,root) /sbin/chcpu
-%attr(755,root,root) /sbin/ctrlaltdel
 %attr(755,root,root) /sbin/addpart
 %attr(755,root,root) /sbin/blkdiscard
+%attr(755,root,root) /sbin/blkzone
+%attr(755,root,root) /sbin/chcpu
+%attr(755,root,root) /sbin/ctrlaltdel
 %attr(755,root,root) /sbin/delpart
-%attr(755,root,root) /sbin/partx
-%attr(755,root,root) /bin/lsblk
 %attr(755,root,root) /sbin/fsfreeze
 %attr(755,root,root) /sbin/fstrim
 %attr(755,root,root) /sbin/mkfs
 %attr(755,root,root) /sbin/mkfs.swap
 %attr(755,root,root) /sbin/mkswap
+%attr(755,root,root) /sbin/partx
 %attr(755,root,root) /sbin/sulogin
 %attr(755,root,root) /sbin/swaplabel
 %if "%{pld_release}" != "ac"
 %attr(755,root,root) /sbin/switch_root
 %endif
 %attr(755,root,root) /sbin/wipefs
+%attr(755,root,root) /sbin/zramctl
 %attr(755,root,root) %{_bindir}/cal
+%attr(755,root,root) %{_bindir}/choom
+%attr(755,root,root) %{_bindir}/chmem
 %attr(755,root,root) %{_bindir}/chrt
 %attr(755,root,root) %{_bindir}/col
 %attr(755,root,root) %{_bindir}/colcrt
 %attr(755,root,root) %{_bindir}/colrm
 %attr(755,root,root) %{_bindir}/column
-%attr(755,root,root) %{_bindir}/cytune
 %attr(755,root,root) %{_bindir}/eject
-%attr(755,root,root) %{_bindir}/flock
 %{?with_fallocate:%attr(755,root,root) %{_bindir}/fallocate}
+%attr(755,root,root) %{_bindir}/fincore
+%attr(755,root,root) %{_bindir}/flock
 %attr(755,root,root) %{_bindir}/getopt
+%attr(755,root,root) %{_bindir}/hardlink
 %attr(755,root,root) %{_bindir}/hexdump
 %attr(755,root,root) %{_bindir}/ionice
 %attr(755,root,root) %{_bindir}/ipcmk
 %attr(755,root,root) %{_bindir}/ipcrm
 %attr(755,root,root) %{_bindir}/ipcs
+%attr(755,root,root) %{_bindir}/irqtop
 %attr(755,root,root) %{_bindir}/isosize
 %attr(755,root,root) %{_bindir}/line
 %attr(755,root,root) %{_bindir}/last
@@ -1034,7 +1142,12 @@ fi
 %attr(755,root,root) %{_bindir}/logger
 %attr(755,root,root) %{_bindir}/look
 %attr(755,root,root) %{_bindir}/lscpu
+%attr(755,root,root) %{_bindir}/lsipc
+%attr(755,root,root) %{_bindir}/lsirq
 %attr(755,root,root) %{_bindir}/lslocks
+%attr(755,root,root) %{_bindir}/lslogins
+%attr(755,root,root) %{_bindir}/lsmem
+%attr(755,root,root) %{_bindir}/lsns
 %attr(755,root,root) %{_bindir}/mesg
 %attr(755,root,root) %{_bindir}/mcookie
 %attr(755,root,root) %{_bindir}/namei
@@ -1046,13 +1159,15 @@ fi
 %attr(755,root,root) %{_bindir}/renice
 %attr(755,root,root) %{_bindir}/rev
 %attr(755,root,root) %{_bindir}/script
+%attr(755,root,root) %{_bindir}/scriptlive
 %attr(755,root,root) %{_bindir}/scriptreplay
 %attr(755,root,root) %{_bindir}/setpriv
 %attr(755,root,root) %{_bindir}/setsid
 %attr(755,root,root) %{_bindir}/setterm
-%attr(755,root,root) %{_bindir}/tailf
 %attr(755,root,root) %{_bindir}/taskset
+%attr(755,root,root) %{_bindir}/uuidparse
 %attr(755,root,root) %{_bindir}/ul
+%attr(755,root,root) %{_bindir}/uname26
 %attr(755,root,root) %{_bindir}/unshare
 %attr(755,root,root) %{_bindir}/utmpdump
 %attr(755,root,root) %{_bindir}/utmpx-dump
@@ -1062,9 +1177,16 @@ fi
 %attr(755,root,root) %{_sbindir}/ldattach
 %attr(755,root,root) %{_sbindir}/readprofile
 %attr(755,root,root) %{_sbindir}/resizepart
+%attr(755,root,root) %{_sbindir}/rfkill
 %attr(755,root,root) %{_sbindir}/rtcwake
 
+%if %{with systemd}
+%{systemdunitdir}/fstrim.service
+%{systemdunitdir}/fstrim.timer
+%endif
+
 %{_mandir}/man1/cal.1*
+%{_mandir}/man1/choom.1*
 %{_mandir}/man1/chrt.1*
 %{_mandir}/man1/col.1*
 %{_mandir}/man1/colcrt.1*
@@ -1073,13 +1195,16 @@ fi
 %{_mandir}/man1/dmesg.1*
 %{_mandir}/man1/eject.1*
 %{?with_fallocate:%{_mandir}/man1/fallocate.1*}
+%{_mandir}/man1/fincore.1*
 %{_mandir}/man1/flock.1*
 %{_mandir}/man1/getopt.1*
+%{_mandir}/man1/hardlink.1*
 %{_mandir}/man1/hexdump.1*
 %{_mandir}/man1/ionice.1*
 %{_mandir}/man1/ipcrm.1*
 %{_mandir}/man1/ipcmk.1*
 %{_mandir}/man1/ipcs.1*
+%{_mandir}/man1/irqtop.1*
 %{_mandir}/man1/kill.1*
 %{_mandir}/man1/last.1*
 %{_mandir}/man1/lastb.1*
@@ -1087,6 +1212,10 @@ fi
 %{_mandir}/man1/logger.1*
 %{_mandir}/man1/look.1*
 %{_mandir}/man1/lscpu.1*
+%{_mandir}/man1/lsipc.1*
+%{_mandir}/man1/lsirq.1*
+%{_mandir}/man1/lslogins.1*
+%{_mandir}/man1/lsmem.1*
 %{_mandir}/man1/mcookie.1*
 %{_mandir}/man1/mesg.1*
 %{_mandir}/man1/more.1*
@@ -1100,23 +1229,28 @@ fi
 %{_mandir}/man1/setpriv.1*
 %{_mandir}/man1/setsid.1*
 %{_mandir}/man1/script.1*
+%{_mandir}/man1/scriptlive.1*
 %{_mandir}/man1/scriptreplay.1*
 %{_mandir}/man1/setterm.1*
-%{_mandir}/man1/tailf.1*
 %{_mandir}/man1/taskset.1*
 %{_mandir}/man1/ul.1*
 %{_mandir}/man1/unshare.1*
 %{_mandir}/man1/utmpdump.1*
+%{_mandir}/man1/uuidparse.1*
 %{_mandir}/man1/whereis.1*
 %{_mandir}/man1/write.1*
+# common for many utilities (hexdump,cal,dmesg,fdisk,cfdisk - not libraries)
+%{_mandir}/man5/terminal-colors.d.5*
 %{_mandir}/man8/addpart.8*
 %{_mandir}/man8/blkdiscard.8*
+%{_mandir}/man8/blkzone.8*
 %{_mandir}/man8/delpart.8*
 %{_mandir}/man8/partx.8*
 %{_mandir}/man8/lsblk.8*
+%{_mandir}/man8/lsns.8*
 %{_mandir}/man8/chcpu.8*
+%{_mandir}/man8/chmem.8*
 %{_mandir}/man8/ctrlaltdel.8*
-%{_mandir}/man8/cytune.8*
 %{_mandir}/man8/fdformat.8*
 %{_mandir}/man8/fsfreeze.8*
 %{_mandir}/man8/fstrim.8*
@@ -1127,33 +1261,25 @@ fi
 %{_mandir}/man8/raw.8*
 %{_mandir}/man8/readprofile.8*
 %{_mandir}/man8/resizepart.8*
+%{_mandir}/man8/rfkill.8*
 %{_mandir}/man8/rtcwake.8*
 %{_mandir}/man8/swaplabel.8*
 %if "%{pld_release}" != "ac"
 %{_mandir}/man8/switch_root.8*
 %endif
 %{_mandir}/man8/sulogin.8*
+%{_mandir}/man8/uname26.8*
 %{_mandir}/man8/wdctl.8*
 %{_mandir}/man8/wipefs.8*
+%{_mandir}/man8/zramctl.8*
 
 %lang(de) %{_mandir}/de/man1/kill.1*
 %lang(de) %{_mandir}/de/man1/more.1*
 %lang(de) %{_mandir}/de/man1/write.1*
 %lang(de) %{_mandir}/de/man8/fdformat.8*
 
-%lang(es) %{_mandir}/es/man1/colrm.1*
-%lang(es) %{_mandir}/es/man1/column.1*
-%lang(es) %{_mandir}/es/man1/getopt.1*
-%lang(es) %{_mandir}/es/man1/look.1*
-%lang(es) %{_mandir}/es/man1/more.1*
-%lang(es) %{_mandir}/es/man1/namei.1*
-%lang(es) %{_mandir}/es/man1/rev.1*
-%lang(es) %{_mandir}/es/man1/script.1*
-%lang(es) %{_mandir}/es/man1/setterm.1*
-%lang(es) %{_mandir}/es/man1/ul.1*
-%lang(es) %{_mandir}/es/man1/whereis.1*
-%lang(es) %{_mandir}/es/man1/write.1*
-%lang(es) %{_mandir}/es/man8/cytune.8*
+%lang(es) %{_mandir}/es/man1/*.1*
+%exclude  %{_mandir}/es/man1/login.1*
 %lang(es) %{_mandir}/es/man8/ctrlaltdel.8*
 %lang(es) %{_mandir}/es/man8/ipcrm.8*
 %lang(es) %{_mandir}/es/man8/ipcs.8*
@@ -1162,19 +1288,9 @@ fi
 %lang(es) %{_mandir}/es/man8/renice.8*
 %lang(es) %{_mandir}/es/man8/setsid.8*
 
-%lang(fi) %{_mandir}/fi/man1/cal.1*
-%lang(fi) %{_mandir}/fi/man1/column.1*
-%lang(fi) %{_mandir}/fi/man1/kill.1*
-%lang(fi) %{_mandir}/fi/man1/more.1*
-%lang(fi) %{_mandir}/fi/man1/whereis.1*
-%lang(fi) %{_mandir}/fi/man1/write.1*
-
-%lang(fr) %{_mandir}/fr/man1/cal.1*
-%lang(fr) %{_mandir}/fr/man1/col.1*
-%lang(fr) %{_mandir}/fr/man1/kill.1*
-%lang(fr) %{_mandir}/fr/man1/more.1*
-%lang(fr) %{_mandir}/fr/man1/whereis.1*
-%lang(fr) %{_mandir}/fr/man1/write.1*
+%lang(fi) %{_mandir}/fi/man1/*.1*
+
+%lang(fr) %{_mandir}/fr/man1/*.1*
 %lang(fr) %{_mandir}/fr/man8/ctrlaltdel.8*
 %lang(fr) %{_mandir}/fr/man8/dmesg.8*
 %lang(fr) %{_mandir}/fr/man8/fdformat.8*
@@ -1182,54 +1298,23 @@ fi
 %lang(fr) %{_mandir}/fr/man8/ipcs.8*
 %lang(fr) %{_mandir}/fr/man8/setsid.8*
 
-%lang(hu) %{_mandir}/hu/man1/cal.1*
-%lang(hu) %{_mandir}/hu/man1/colrm.1*
-%lang(hu) %{_mandir}/hu/man1/hexdump.1*
-%lang(hu) %{_mandir}/hu/man1/kill.1*
-%lang(hu) %{_mandir}/hu/man1/logger.1*
-%lang(hu) %{_mandir}/hu/man1/more.1*
-%lang(hu) %{_mandir}/hu/man1/setterm.1*
-%lang(hu) %{_mandir}/hu/man1/whereis.1*
-%lang(hu) %{_mandir}/hu/man1/write.1*
+%lang(hu) %{_mandir}/hu/man1/*.1*
+%exclude  %{_mandir}/hu/man1/login.1*
 %lang(hu) %{_mandir}/hu/man8/ctrlaltdel.8*
 %lang(hu) %{_mandir}/hu/man8/fdformat.8*
 %lang(hu) %{_mandir}/hu/man8/mkswap.8*
 
-%lang(id) %{_mandir}/id/man1/cal.1*
-%lang(id) %{_mandir}/id/man1/kill.1*
-%lang(id) %{_mandir}/id/man1/logger.1*
-%lang(id) %{_mandir}/id/man1/more.1*
-%lang(id) %{_mandir}/id/man1/script.1*
-%lang(id) %{_mandir}/id/man1/write.1*
+%lang(id) %{_mandir}/id/man1/*.1*
+%exclude  %{_mandir}/id/man1/login.1*
 %lang(id) %{_mandir}/id/man8/fdformat.8*
 
 %lang(it) %{_mandir}/it/man1/kill.1*
 %lang(it) %{_mandir}/it/man8/mkswap.8*
 %lang(it) %{_mandir}/it/man8/setsid.8*
 
-%lang(ja) %{_mandir}/ja/man1/cal.1*
-%lang(ja) %{_mandir}/ja/man1/col.1*
-%lang(ja) %{_mandir}/ja/man1/colcrt.1*
-%lang(ja) %{_mandir}/ja/man1/colrm.1*
-%lang(ja) %{_mandir}/ja/man1/column.1*
-%lang(ja) %{_mandir}/ja/man1/getopt.1*
-%lang(ja) %{_mandir}/ja/man1/hexdump.1*
-%lang(ja) %{_mandir}/ja/man1/kill.1*
-%lang(ja) %{_mandir}/ja/man1/line.1*
-%lang(ja) %{_mandir}/ja/man1/logger.1*
-%lang(ja) %{_mandir}/ja/man1/look.1*
-%lang(ja) %{_mandir}/ja/man1/mcookie.1*
-%lang(ja) %{_mandir}/ja/man1/more.1*
-%lang(ja) %{_mandir}/ja/man1/namei.1*
-%lang(ja) %{_mandir}/ja/man1/rename.1*
-%lang(ja) %{_mandir}/ja/man1/rev.1*
-%lang(ja) %{_mandir}/ja/man1/script.1*
-%lang(ja) %{_mandir}/ja/man1/setterm.1*
-%lang(ja) %{_mandir}/ja/man1/ul.1*
-%lang(ja) %{_mandir}/ja/man1/whereis.1*
-%lang(ja) %{_mandir}/ja/man1/write.1*
+%lang(ja) %{_mandir}/ja/man1/*.1*
+%exclude  %{_mandir}/ja/man1/login.1*
 %lang(ja) %{_mandir}/ja/man8/ctrlaltdel.8*
-%lang(ja) %{_mandir}/ja/man8/cytune.8*
 %lang(ja) %{_mandir}/ja/man8/dmesg.8*
 %lang(ja) %{_mandir}/ja/man8/fdformat.8*
 %lang(ja) %{_mandir}/ja/man8/ipcrm.8*
@@ -1240,25 +1325,8 @@ fi
 %lang(ja) %{_mandir}/ja/man8/renice.8*
 %lang(ja) %{_mandir}/ja/man8/setsid.8*
 
-%lang(ko) %{_mandir}/ko/man1/cal.1*
-%lang(ko) %{_mandir}/ko/man1/col.1*
-%lang(ko) %{_mandir}/ko/man1/colcrt.1*
-%lang(ko) %{_mandir}/ko/man1/colrm.1*
-%lang(ko) %{_mandir}/ko/man1/column.1*
-%lang(ko) %{_mandir}/ko/man1/getopt.1*
-%lang(ko) %{_mandir}/ko/man1/hexdump.1*
-%lang(ko) %{_mandir}/ko/man1/kill.1*
-%lang(ko) %{_mandir}/ko/man1/logger.1*
-%lang(ko) %{_mandir}/ko/man1/look.1*
-%lang(ko) %{_mandir}/ko/man1/mcookie.1*
-%lang(ko) %{_mandir}/ko/man1/more.1*
-%lang(ko) %{_mandir}/ko/man1/namei.1*
-%lang(ko) %{_mandir}/ko/man1/rev.1*
-%lang(ko) %{_mandir}/ko/man1/script.1*
-%lang(ko) %{_mandir}/ko/man1/setterm.1*
-%lang(ko) %{_mandir}/ko/man1/ul.1*
-%lang(ko) %{_mandir}/ko/man1/whereis.1*
-%lang(ko) %{_mandir}/ko/man1/write.1*
+%lang(ko) %{_mandir}/ko/man1/*.1*
+%exclude  %{_mandir}/ko/man1/login.1*
 %lang(ko) %{_mandir}/ko/man8/ctrlaltdel.8*
 %lang(ko) %{_mandir}/ko/man8/dmesg.8*
 %lang(ko) %{_mandir}/ko/man8/fdformat.8*
@@ -1271,22 +1339,8 @@ fi
 
 %lang(nl) %{_mandir}/nl/man1/kill.1*
 
-%lang(pl) %{_mandir}/pl/man1/cal.1*
-%lang(pl) %{_mandir}/pl/man1/col.1*
-%lang(pl) %{_mandir}/pl/man1/colcrt.1*
-%lang(pl) %{_mandir}/pl/man1/colrm.1*
-%lang(pl) %{_mandir}/pl/man1/getopt.1*
-%lang(pl) %{_mandir}/pl/man1/hexdump.1*
-%lang(pl) %{_mandir}/pl/man1/kill.1*
-%lang(pl) %{_mandir}/pl/man1/look.1*
-%lang(pl) %{_mandir}/pl/man1/logger.1*
-%lang(pl) %{_mandir}/pl/man1/more.1*
-%lang(pl) %{_mandir}/pl/man1/rev.1*
-%lang(pl) %{_mandir}/pl/man1/script.1*
-%lang(pl) %{_mandir}/pl/man1/setterm.1*
-%lang(pl) %{_mandir}/pl/man1/ul.1*
-%lang(pl) %{_mandir}/pl/man1/whereis.1*
-%lang(pl) %{_mandir}/pl/man1/write.1*
+%lang(pl) %{_mandir}/pl/man1/*.1*
+%exclude  %{_mandir}/pl/man1/login.1*
 %lang(pl) %{_mandir}/pl/man8/ctrlaltdel.8*
 %lang(pl) %{_mandir}/pl/man8/dmesg.8*
 %lang(pl) %{_mandir}/pl/man8/fdformat.8*
@@ -1377,7 +1431,6 @@ fi
 %defattr(644,root,root,755)
 %attr(754,root,root) /etc/rc.d/init.d/blockdev
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/blockdev
-%config(noreplace) %verify(not md5 mtime size) /etc/init/blockdev.conf
 %attr(755,root,root) /sbin/blockdev
 %{_mandir}/man8/blockdev.8*
 %lang(ja) %{_mandir}/ja/man8/blockdev.8*
@@ -1386,6 +1439,7 @@ fi
 
 %files -n mount
 %defattr(644,root,root,755)
+%attr(755,root,root) /bin/findmnt
 %attr(755,root,root) /bin/mountpoint
 %attr(4755,root,root) /bin/mount
 %attr(4755,root,root) /bin/umount
@@ -1395,6 +1449,7 @@ fi
 
 %{_mandir}/man1/mountpoint.1*
 %{_mandir}/man5/fstab.5*
+%{_mandir}/man8/findmnt.8*
 %{_mandir}/man8/mount.8*
 %{_mandir}/man8/umount.8*
 %{_mandir}/man8/pivot_root.8*
@@ -1524,10 +1579,6 @@ fi
 %defattr(644,root,root,755)
 %{_libdir}/libuuid.a
 
-%files -n bash-completion-util-linux
-%defattr(644,root,root,755)
-/usr/share/bash-completion/completions/*
-
 %if %{with initrd} && %{with dietlibc}
 %files -n libuuid-dietlibc
 %defattr(644,root,root,755)
@@ -1539,16 +1590,32 @@ fi
 %attr(6755,uuidd,uuidd) %{_sbindir}/uuidd
 %attr(2775,uuidd,uuidd) /var/lib/libuuid
 %{_mandir}/man8/uuidd.8*
+%if %{with systemd}
 %{systemdunitdir}/uuidd.service
 %{systemdunitdir}/uuidd.socket
+%endif
+
+%files -n libfdisk
+%defattr(644,root,root,755)
+%doc libfdisk/COPYING
+%attr(755,root,root) /%{_lib}/libfdisk.so.*.*
+%attr(755,root,root) %ghost /%{_lib}/libfdisk.so.1
+
+%files -n libfdisk-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libfdisk.so
+%{_includedir}/libfdisk
+%{_pkgconfigdir}/fdisk.pc
+
+%files -n libfdisk-static
+%defattr(644,root,root,755)
+%{_libdir}/libfdisk.a
 
 %files -n libmount
 %defattr(644,root,root,755)
+%doc libmount/COPYING
 %attr(755,root,root) /%{_lib}/libmount.so.*.*
 %attr(755,root,root) %ghost /%{_lib}/libmount.so.1
-# move to -n mount when mount starts to use libmount
-%attr(755,root,root) /bin/findmnt
-%{_mandir}/man8/findmnt.8*
 
 %files -n libmount-devel
 %defattr(644,root,root,755)
@@ -1560,16 +1627,32 @@ fi
 %defattr(644,root,root,755)
 %{_libdir}/libmount.a
 
+%files -n python3-libmount
+%defattr(644,root,root,755)
+%dir %{py3_sitedir}/libmount
+%attr(755,root,root) %{py3_sitedir}/libmount/pylibmount.so
+%{py3_sitedir}/libmount/__init__.py
+%{py3_sitedir}/libmount/__pycache__
+
 %files -n fsck
 %defattr(644,root,root,755)
 %attr(755,root,root) /sbin/fsck
 %{_mandir}/man8/fsck.8*
 
-%files -n python3-libmount
+%files -n libsmartcols
 %defattr(644,root,root,755)
-%dir %{py3_sitedir}/libmount
-%{py3_sitedir}/libmount/__init__.py
-%attr(755,root,root) %{py3_sitedir}/libmount/pylibmount.so
+%attr(755,root,root) /%{_lib}/libsmartcols.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libsmartcols.so.1
+
+%files -n libsmartcols-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libsmartcols.so
+%{_includedir}/libsmartcols
+%{_pkgconfigdir}/smartcols.pc
+
+%files -n libsmartcols-static
+%defattr(644,root,root,755)
+%{_libdir}/libsmartcols.a
 
 %if %{with initrd}
 %files initrd
@@ -1596,3 +1679,109 @@ fi
 #%attr(755,root,root) %{_libdir}/initrd/e2fsck
 #%attr(755,root,root) %{_libdir}/initrd/fsck
 %endif
+
+%files -n bash-completion-util-linux
+%defattr(644,root,root,755)
+%{bash_compdir}/addpart
+%{bash_compdir}/blkdiscard
+%{bash_compdir}/blkid
+%{bash_compdir}/blkzone
+%{bash_compdir}/blockdev
+%{bash_compdir}/cal
+%{bash_compdir}/cfdisk
+%{bash_compdir}/chcpu
+%{bash_compdir}/chmem
+%{bash_compdir}/chrt
+%{bash_compdir}/col
+%{bash_compdir}/colcrt
+%{bash_compdir}/colrm
+%{bash_compdir}/column
+%{bash_compdir}/ctrlaltdel
+%{bash_compdir}/delpart
+%{bash_compdir}/dmesg
+%{bash_compdir}/eject
+%{bash_compdir}/fallocate
+%{bash_compdir}/fdformat
+%{bash_compdir}/fdisk
+%{bash_compdir}/fincore
+%{bash_compdir}/findfs
+%{bash_compdir}/findmnt
+%{bash_compdir}/flock
+%{bash_compdir}/fsck
+%{bash_compdir}/fsck.cramfs
+%{bash_compdir}/fsck.minix
+%{bash_compdir}/fsfreeze
+%{bash_compdir}/fstrim
+%{bash_compdir}/getopt
+%{bash_compdir}/hexdump
+%{bash_compdir}/hwclock
+%{bash_compdir}/ionice
+%{bash_compdir}/ipcmk
+%{bash_compdir}/ipcrm
+%{bash_compdir}/ipcs
+%{bash_compdir}/irqtop
+%{bash_compdir}/isosize
+%{bash_compdir}/last
+%{bash_compdir}/ldattach
+%{bash_compdir}/logger
+%{bash_compdir}/look
+%{bash_compdir}/losetup
+%{bash_compdir}/lsblk
+%{bash_compdir}/lscpu
+%{bash_compdir}/lsipc
+%{bash_compdir}/lsirq
+%{bash_compdir}/lslocks
+%{bash_compdir}/lslogins
+%{bash_compdir}/lsmem
+%{bash_compdir}/lsns
+%{bash_compdir}/mcookie
+%{bash_compdir}/mesg
+%{bash_compdir}/mkfs
+%{bash_compdir}/mkfs.bfs
+%{bash_compdir}/mkfs.cramfs
+%{bash_compdir}/mkfs.minix
+%{bash_compdir}/mkswap
+%{bash_compdir}/more
+%{bash_compdir}/mount
+%{bash_compdir}/mountpoint
+%{bash_compdir}/namei
+%{bash_compdir}/nsenter
+%{bash_compdir}/partx
+%{bash_compdir}/pg
+%{bash_compdir}/pivot_root
+%{bash_compdir}/prlimit
+%{bash_compdir}/raw
+%{bash_compdir}/readprofile
+%{bash_compdir}/rename
+%{bash_compdir}/renice
+%{bash_compdir}/resizepart
+%{bash_compdir}/rev
+%{bash_compdir}/rfkill
+%{bash_compdir}/rtcwake
+%{bash_compdir}/runuser
+%{bash_compdir}/script
+%{bash_compdir}/scriptlive
+%{bash_compdir}/scriptreplay
+%{bash_compdir}/setarch
+%{bash_compdir}/setpriv
+%{bash_compdir}/setsid
+%{bash_compdir}/setterm
+%{bash_compdir}/sfdisk
+%{bash_compdir}/su
+%{bash_compdir}/swaplabel
+%{bash_compdir}/swapoff
+%{bash_compdir}/swapon
+%{bash_compdir}/taskset
+%{bash_compdir}/tunelp
+%{bash_compdir}/ul
+%{bash_compdir}/umount
+%{bash_compdir}/unshare
+%{bash_compdir}/utmpdump
+%{bash_compdir}/uuidd
+%{bash_compdir}/uuidgen
+%{bash_compdir}/uuidparse
+%{bash_compdir}/wdctl
+%{bash_compdir}/whereis
+%{bash_compdir}/wipefs
+%{bash_compdir}/write
+%{bash_compdir}/zramctl
This page took 0.096111 seconds and 4 git commands to generate.