Browse Source

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.
pull/1998/head
Ivan Poddubnyi 4 months ago
parent
commit
f4f5d60ea7
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      el/rtpengine.spec

+ 3
- 0
el/rtpengine.spec View File

@ -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