Accepting request 568124 from home:dimstar:Factory

- Fix system_user_post macro for usage with RPM 4.14, backport from
  https://github.com/systemd/systemd/commit/e67ba783.

Addresses build issues like
https://build.opensuse.org/package/live_build_log/openSUSE:Factory/appimaged/standard/x86_64

OBS-URL: https://build.opensuse.org/request/show/568124
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=26
This commit is contained in:
Franck Bui 2018-01-22 14:11:14 +00:00 committed by Git OBS Bridge
parent d3d7919f6b
commit 09aef1ee6f
3 changed files with 8 additions and 2 deletions

View File

@ -196,7 +196,7 @@ if [ "$1" -eq 0 -a -x /usr/bin/systemctl ]; then \
fi \
%{nil}
%systemd_user_post() %systemd_post --user --global %{?*}
%systemd_user_post() %{expand:%systemd_post \\--user \\--global %%{?*}}
#
# Options used if not in an installation systems

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 22 11:33:28 UTC 2018 - dimstar@opensuse.org
- Fix system_user_post macro for usage with RPM 4.14, backport from
https://github.com/systemd/systemd/commit/e67ba783.
-------------------------------------------------------------------
Thu Dec 14 08:39:15 UTC 2017 - fbui@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package systemd-rpm-macros
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed