From cb355b6dbfe26d7c41517de9c36da0129dd89c8e Mon Sep 17 00:00:00 2001 From: Ivan Poddubnyi Date: Thu, 28 Aug 2025 12:03:32 +0200 Subject: [PATCH] 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 e9717df6b5e448b3523f6900ffc58c37dd4f18d3) --- el/rtpengine.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/el/rtpengine.spec b/el/rtpengine.spec index 9c365988a..74e9d2fdd 100644 --- a/el/rtpengine.spec +++ b/el/rtpengine.spec @@ -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