From b95e7187153647e8415265c55c3b0e50fcdf4dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Obih=C3=B6rnchen?= Date: Wed, 22 Nov 2023 12:03:34 +0100 Subject: [PATCH] Fix %sysusers_create_package args %sysusers_create_package requires two arguments. See: https://github.com/systemd/systemd/blob/main/src/rpm/macros.systemd.in#L165 --- scripts/cc-metric-collector.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cc-metric-collector.spec b/scripts/cc-metric-collector.spec index b1b405e..bf3e536 100644 --- a/scripts/cc-metric-collector.spec +++ b/scripts/cc-metric-collector.spec @@ -44,7 +44,7 @@ install -Dpm 0644 scripts/%{name}.sysusers %{buildroot}%{_sysusersdir}/%{name}.c # go test should be here... :) %pre -%sysusers_create_package scripts/%{name}.sysusers +%sysusers_create_package %{name} scripts/%{name}.sysusers %post %systemd_post %{name}.service