diff --git a/lldpd.spec b/lldpd.spec index eeb5170..ee8c831 100644 --- a/lldpd.spec +++ b/lldpd.spec @@ -10,7 +10,7 @@ Name: lldpd Version: 0.9.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: ISC-licensed implementation of LLDP License: ISC @@ -79,7 +79,7 @@ make %{?_smp_mflags} %make_install %if 0%{?with_systemd} -%if 0%{?fedora} +%if %if 0%{?fedora} >= 26 install -p -D -m644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service %else install -p -D -m644 %{SOURCE5} %{buildroot}%{_unitdir}/%{name}.service @@ -170,6 +170,9 @@ fi %changelog +* Thu Apr 06 2017 James Hogarth - 0.9.7-5 +- Older fedora needs the older syntax matching EPEL7 + * Wed Apr 05 2017 James Hogarth - 0.9.7-4 - EPEL7 systemd needs an older syntax