[packages/systemd] pass arguments from %systemd_trigger to %systemd_post; rel 2

atler atler at pld-linux.org
Thu Jan 6 19:39:37 CET 2022


commit 9216904eac69833cdfa01f9beb58e274c49f7839
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jan 6 19:37:58 2022 +0100

    pass arguments from %systemd_trigger to %systemd_post; rel 2
    
    bluez.spec failed with:
    
    error: The %systemd_post macro requires some arguments

 rpm-macros.patch | 2 +-
 systemd.spec     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index 9bb7944..6dfc9d5 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -31,7 +31,7 @@ Summary(pl.UTF-8):	systemd - zarządca systemu i usług dla Linuksa
 Name:		systemd
 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
 Version:	250.1
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL v2+ (udev), LGPL v2.1+ (the rest)
 Group:		Base
diff --git a/rpm-macros.patch b/rpm-macros.patch
index 2a820bc..6926763 100644
--- a/rpm-macros.patch
+++ b/rpm-macros.patch
@@ -85,7 +85,7 @@
 +	[ -d /run/systemd/system ] && /bin/systemctl reload %{*} || : \
 +%{nil}
 +
-+%systemd_trigger %systemd_post
++%systemd_trigger() %systemd_post %*
 +
 +%systemdunitdir %_unitdir
 +%systemduserunitdir %_userunitdir
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/9216904eac69833cdfa01f9beb58e274c49f7839



More information about the pld-cvs-commit mailing list