From a69df0622e1c2bdb941ab1ff0bf5ac5049d3db5889876fedec2a481e07d1b2f5 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 19 May 2020 13:09:41 +0000 Subject: [PATCH] Accepting request 805841 from home:Pharaoh_Atem:branches:network:utilities - Fix LIBEXECDIR substitution for systemd service OBS-URL: https://build.opensuse.org/request/show/805841 OBS-URL: https://build.opensuse.org/package/show/network:utilities/hostname?expand=0&rev=19 --- hostname.changes | 5 +++++ hostname.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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}