From 91bafd44ecea783715b78fb8ef754fe3e641f19d3e75d5f6f06e7602875216df Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 8 Mar 2023 22:23:00 +0000 Subject: [PATCH] - 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 --- util-linux.changes | 5 +++++ util-linux.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/util-linux.changes b/util-linux.changes index 5f97140..30d113b 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 8 22:22:38 UTC 2023 - Jan Engelhardt + +- Use requires(post,verify) instead of the PreReq hammer + ------------------------------------------------------------------- Wed Mar 8 10:08:45 UTC 2023 - Daniel Garcia diff --git a/util-linux.spec b/util-linux.spec index b1e170c..4fa6535 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -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