From: Ruben Kerkhof Date: Fri, 15 Apr 2016 12:58:05 +0000 (+0200) Subject: dnsdist: building rpm needs systemd headers X-Git-Tag: dnsdist-1.0.0~17^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=073f3b0f77dbacfc57bd80efbb02f7e94ab40050;p=pdns dnsdist: building rpm needs systemd headers We check for the systemd headers, which are in systemd-devel checking systemd/sd-daemon.h usability... no checking systemd/sd-daemon.h presence... no checking for systemd/sd-daemon.h... no --- diff --git a/build-scripts/build-dnsdist-rpm b/build-scripts/build-dnsdist-rpm index 11b6c494f..c50fc8220 100755 --- a/build-scripts/build-dnsdist-rpm +++ b/build-scripts/build-dnsdist-rpm @@ -39,7 +39,7 @@ SODIUM_BUILDREQUIRES='' SODIUM_CONFIGURE='' # Some RPM platforms use systemd, others sysv, we default to systemd here -INIT_BUILDREQUIRES='BuildRequires: systemd' +INIT_BUILDREQUIRES='BuildRequires: systemd-devel' #INIT_INSTALL='install -d -m 755 %{buildroot}/lib/systemd/system/ && install -m 664 dnsdist.service %{buildroot}/lib/systemd/system/dnsdist.service' INIT_INSTALL='' INIT_FILES='/lib/systemd/system/dnsdist.service'