]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
redhat: don't try to guess systemd unit directory
authorVincent Bernat <vincent@bernat.im>
Sat, 20 Feb 2016 18:05:43 +0000 (19:05 +0100)
committerVincent Bernat <vincent@bernat.im>
Sat, 20 Feb 2016 18:05:43 +0000 (19:05 +0100)
On SuSE, this doesn't work.

redhat/lldpd.spec

index 6c89a573cc6526c34da5bdd0986b397c7320b50f..5e1442a154958da5da95ce77de3e254e6c2eac9e 100644 (file)
@@ -182,6 +182,8 @@ to adjacent network devices.
    --with-privsep-chroot=%lldpd_chroot \
 %if %{without systemd}
    --with-systemdsystemunitdir=no \
+%else
+   --with-systemdsystemunitdir=%{_unitdir} \
 %endif
    --with-sysusersdir=no \
    --prefix=%{_usr} \