From 0e6b25078967422389535ebdfeba0961d15eaeda Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 20 Feb 2016 19:05:43 +0100 Subject: [PATCH] redhat: don't try to guess systemd unit directory On SuSE, this doesn't work. --- redhat/lldpd.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index 6c89a573..5e1442a1 100644 --- a/redhat/lldpd.spec +++ b/redhat/lldpd.spec @@ -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} \ -- 2.39.5