|
@@ -24,10 +24,16 @@ Packager: Docker <support@docker.com>
|
|
BuildRequires: systemd-rpm-macros
|
|
BuildRequires: systemd-rpm-macros
|
|
%{?systemd_requires}
|
|
%{?systemd_requires}
|
|
%else
|
|
%else
|
|
|
|
+%if 0%{?fedora} >= 25
|
|
|
|
+# Systemd 230 and up no longer have libsystemd-journal (see https://bugzilla.redhat.com/show_bug.cgi?id=1350301)
|
|
|
|
+BuildRequires: pkgconfig(systemd)
|
|
|
|
+Requires: systemd-units
|
|
|
|
+%else
|
|
BuildRequires: pkgconfig(systemd)
|
|
BuildRequires: pkgconfig(systemd)
|
|
Requires: systemd-units
|
|
Requires: systemd-units
|
|
BuildRequires: pkgconfig(libsystemd-journal)
|
|
BuildRequires: pkgconfig(libsystemd-journal)
|
|
%endif
|
|
%endif
|
|
|
|
+%endif
|
|
%else
|
|
%else
|
|
Requires(post): chkconfig
|
|
Requires(post): chkconfig
|
|
Requires(preun): chkconfig
|
|
Requires(preun): chkconfig
|