diff --git a/hostname.changes b/hostname.changes index 86ffac1..f34cd58 100644 --- a/hostname.changes +++ b/hostname.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 15 13:30:45 UTC 2020 - Neal Gompa + +- Fix LIBEXECDIR substitution for systemd service + ------------------------------------------------------------------- Sun Apr 12 14:06:27 UTC 2020 - Neal Gompa diff --git a/hostname.spec b/hostname.spec index 7918458..e20633b 100644 --- a/hostname.spec +++ b/hostname.spec @@ -52,7 +52,7 @@ for prog in dnsdomainname domainname ypdomainname nisdomainname; do ln -sf %{_bindir}/%{name} %{buildroot}%{_bindir}/$prog ln -sf hostname.1 %{buildroot}%{_mandir}/man1/${prog}.1 done -sed -e "s|@LIBEXECDIR|%{_libexecdir}|g" nis-domainname.service.in > nis-domainname.service +sed -e "s|@LIBEXECDIR@|%{_libexecdir}|g" nis-domainname.service.in > nis-domainname.service install -m 0755 -d %{buildroot}%{_libexecdir}/%{name} install -m 0755 -d %{buildroot}%{_unitdir} install -p -m 0755 nis-domainname %{buildroot}%{_libexecdir}/%{name}