From d1df2d155859c1c2a3a3d6a3cc5fb15823f8c789 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 12 Oct 2022 14:51:16 +0200 Subject: [PATCH] suppress error in %pre scriptlet The sysusers_create_compat macro from systemd doesn't supress errors (#2090129). Add an empty command to always return success. Related: #2095374 --- chrony.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/chrony.spec b/chrony.spec index 2b7344d..38b63c9 100644 --- a/chrony.spec +++ b/chrony.spec @@ -166,6 +166,7 @@ make quickcheck %pre %sysusers_create_compat %{SOURCE4} +: %post # migrate from chrony-helper to sourcedir directive