Accepting request 922165 from home:dimstar:Factory

- Use %{load:} instead of %{?load:}: fix build with RPM 4.17.

OBS-URL: https://build.opensuse.org/request/show/922165
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=71
This commit is contained in:
Franck Bui 2021-09-29 13:21:24 +00:00 committed by Git OBS Bridge
parent 4a8a20b75d
commit 818d21e58d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 29 11:27:11 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %{load:} instead of %{?load:}: fix build with RPM 4.17.
-------------------------------------------------------------------
Wed Jun 30 09:59:31 UTC 2021 - Franck Bui <fbui@suse.com>

View File

@ -31,7 +31,7 @@ BuildArch: noarch
#!BuildIgnore: %{name}
# We need our own definition of %{_unitdir}.
%{?load:%{S:0}}
%{load:%{S:0}}
%description
Starting with openSUSE 12.1, several RPM macros must be used to package systemd