From: Vincent Bernat Date: Sat, 20 Feb 2016 18:05:43 +0000 (+0100) Subject: redhat: don't try to guess systemd unit directory X-Git-Tag: 0.9.2~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e6b25078967422389535ebdfeba0961d15eaeda;p=thirdparty%2Flldpd.git redhat: don't try to guess systemd unit directory On SuSE, this doesn't work. --- 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} \