Accepting request 807338 from network:utilities
- Fix LIBEXECDIR substitution for systemd service (forwarded request 805841 from Pharaoh_Atem) OBS-URL: https://build.opensuse.org/request/show/807338 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hostname?expand=0&rev=9
This commit is contained in:
commit
52d58af364
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 15 13:30:45 UTC 2020 - Neal Gompa <ngompa13@gmail.com>
|
||||||
|
|
||||||
|
- Fix LIBEXECDIR substitution for systemd service
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Apr 12 14:06:27 UTC 2020 - Neal Gompa <ngompa13@gmail.com>
|
Sun Apr 12 14:06:27 UTC 2020 - Neal Gompa <ngompa13@gmail.com>
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ for prog in dnsdomainname domainname ypdomainname nisdomainname; do
|
|||||||
ln -sf %{_bindir}/%{name} %{buildroot}%{_bindir}/$prog
|
ln -sf %{_bindir}/%{name} %{buildroot}%{_bindir}/$prog
|
||||||
ln -sf hostname.1 %{buildroot}%{_mandir}/man1/${prog}.1
|
ln -sf hostname.1 %{buildroot}%{_mandir}/man1/${prog}.1
|
||||||
done
|
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}%{_libexecdir}/%{name}
|
||||||
install -m 0755 -d %{buildroot}%{_unitdir}
|
install -m 0755 -d %{buildroot}%{_unitdir}
|
||||||
install -p -m 0755 nis-domainname %{buildroot}%{_libexecdir}/%{name}
|
install -p -m 0755 nis-domainname %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user