Move script utilities to util-linux-script subpackage

This allows installing util-linux without pulling in the
libutempter library which includes a setgid binary that I'd like
to avoid installing on my systems.
This commit is contained in:
Daan De Meyer 2024-08-23 11:27:11 +02:00
commit 5a2471d6e5

View file

@ -299,6 +299,12 @@ License: GPL-2.0-or-later
Internationalization pack with translated messages and manual pages for
util-linux commands.
%package -n util-linux-script
Summary: The various script utilities
Requires: util-linux = %{version}-%{release}
%description -n util-linux-script
The script, scriptreplay and scriptlive utilities.
%prep
%autosetup -p1 -n %{name}-%{upstream_version}
@ -553,9 +559,6 @@ fi
%{_bindir}/prlimit
%{_bindir}/rename
%{_bindir}/rev
%{_bindir}/script
%{_bindir}/scriptlive
%{_bindir}/scriptreplay
%{_bindir}/setarch
%{_bindir}/setpgid
%{_bindir}/setpriv
@ -970,5 +973,10 @@ fi
%files -n util-linux-i18n -f %{name}.lang
%license Documentation/licenses/COPYING.GPL-2.0-or-later
%files -n util-linux-script
%{_bindir}/script
%{_bindir}/scriptlive
%{_bindir}/scriptreplay
%changelog
%autochangelog