Accepting request 820064 from home:kukuk:container

- Use systemd_ordering instead of requiring to make rsyslog useable
  in containers.

OBS-URL: https://build.opensuse.org/request/show/820064
OBS-URL: https://build.opensuse.org/package/show/Base:System/rsyslog?expand=0&rev=317
This commit is contained in:
Thomas Blume
2020-07-20 09:09:04 +00:00
committed by Git OBS Bridge
parent 0ecdc6730f
commit 4ee541978b
2 changed files with 8 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ Requires(pre): /etc/init.d/syslog
%else
Requires(pre): syslog-service >= 2.0
%endif
%{?systemd_requires}
%{?systemd_ordering}
BuildRequires: pkgconfig(systemd) >= 209
%if %{with journal}
BuildRequires: pkgconfig(libsystemd) >= 234
@@ -220,7 +220,7 @@ BuildRequires: tcl-devel
%endif
%endif
%if %{with systemd}
%{?systemd_requires}
%{?systemd_ordering}
BuildRequires: pkgconfig(systemd)
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build