From 1061fc1c1734ae67afe015fb6adbf25fa247b407 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 14 Jul 2020 16:30:46 +0200 Subject: [PATCH] rpm: include macro name in errors for two args macros too --- src/core/macros.systemd.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/macros.systemd.in b/src/core/macros.systemd.in index df87b6eff06..8832c4a6f40 100644 --- a/src/core/macros.systemd.in +++ b/src/core/macros.systemd.in @@ -127,7 +127,7 @@ SYSTEMD_INLINE_EOF\ # %files # %{_sysusersdir}/%{name}.conf %sysusers_create_package() \ -%{expand:%%{?!__systemd_twoargs_%#:%%{error:This macro requires two arguments}}} \ +%{expand:%%{?!__systemd_twoargs_%#:%%{error:The %%%%sysusers_create_package macro requires two arguments}}} \ systemd-sysusers --replace=%_sysusersdir/%1.conf - <