MT#55283 el: fix build without systemd-notify support

The service unit file installed by the package uses type=notify,
so it must also be built with systemd support.

Change-Id: I56dd32a160fceeaa0771b11e682e8c0366a23a61
(cherry picked from commit e9717df6b5)
(cherry picked from commit cb355b6dbf)
mr13.3.1
Ivan Poddubnyi 3 months ago committed by Richard Fuchs
parent c975c7d99a
commit 3a535f5a0d

@ -30,6 +30,9 @@ Conflicts: %{name}-kernel < %{version}-%{release}
BuildRequires: gcc make pkgconfig %{redhat_rpm_config}
BuildRequires: glib2-devel libcurl-devel openssl-devel pcre-devel
BuildRequires: zlib-devel hiredis-devel
%if 0%{?has_systemd_dirs}
BuildRequires: systemd-devel
%endif
BuildRequires: libpcap-devel libevent-devel json-glib-devel
BuildRequires: mosquitto-devel
BuildRequires: gperf perl-IPC-Cmd

Loading…
Cancel
Save