]> granicus.if.org Git - pdns/commitdiff
dnsdist: building rpm needs systemd headers
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 15 Apr 2016 12:58:05 +0000 (14:58 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 15 Apr 2016 12:58:05 +0000 (14:58 +0200)
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

build-scripts/build-dnsdist-rpm

index 11b6c494ff2b74d7151d033ea8a05e7f8ef22a11..c50fc8220f696fdbf9ffdb328c4ffd62453792db 100755 (executable)
@@ -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'