- Use requires(post,verify) instead of the PreReq hammer

OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=502
This commit is contained in:
Jan Engelhardt 2023-03-08 22:23:00 +00:00 committed by Git OBS Bridge
parent 0013ae4f06
commit 91bafd44ec
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 8 22:22:38 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Use requires(post,verify) instead of the PreReq hammer
-------------------------------------------------------------------
Wed Mar 8 10:08:45 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -131,7 +131,8 @@ BuildRequires: pkg-config
BuildRequires: readline-devel
BuildRequires: utempter-devel
BuildRequires: zlib-devel
PreReq: permissions
Requires(post): permissions
Requires(verify):permissions
# util-linux is part of VMInstall, but we can well build without it
# Helps shorten a cycle and eliminate a bootstrap issue
#!BuildIgnore: util-linux
@ -363,8 +364,9 @@ unique IDs (UUIDs).
%package -n util-linux-tty-tools
Summary: Tools for writing to TTYs
License: BSD-3-Clause
PreReq: permissions
Requires(pre): group(tty)
Requires(post): permissions
Requires(verify):permissions
Provides: util-linux:%{_bindir}/mesg
Provides: util-linux:%{_bindir}/wall
Provides: util-linux:%{_bindir}/write