[packages/wesnoth] - fixing wesnothd.service location
mrozowik
mrozowik at pld-linux.org
Tue Jan 5 16:21:30 CET 2021
commit 758a0e576dfe03900024f21623d814545907796f
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date: Tue Jan 5 15:21:17 2021 +0000
- fixing wesnothd.service location
wesnoth.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/wesnoth.spec b/wesnoth.spec
index 2fb34cd..e334dfc 100644
--- a/wesnoth.spec
+++ b/wesnoth.spec
@@ -148,7 +148,7 @@ cd build
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/var/run/wesnothd,/etc/rc.d/init.d,/etc/sysconfig} \
$RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{_docdir}/%{name}-%{version}} \
- $RPM_BUILD_ROOT%{systemduserunitdir}
+ $RPM_BUILD_ROOT%{systemdunitdir}
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
@@ -157,7 +157,7 @@ install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/var/run/wesnothd,/etc/
cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/wesnothd
cp -p %{SOURCE2} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/wesnoth
-cp -p %{SOURCE4} $RPM_BUILD_ROOT%{systemduserunitdir}/wesnothd.service
+cp -p %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/wesnothd.service
%endif
%{__mv} $RPM_BUILD_ROOT%{_docdir}/html $RPM_BUILD_ROOT%{_docdir}/%{name}
@@ -242,7 +242,7 @@ fi
%attr(755,root,root) %{_bindir}/campaignd
%attr(755,root,root) %{_bindir}/wesnothd
%attr(754,root,root) /etc/rc.d/init.d/wesnothd
-%attr(644,root,root) %{systemduserunitdir}/wesnothd.service
+%attr(644,root,root) %{systemdunitdir}/wesnothd.service
%{_mandir}/man6/wesnothd.6*
%lang(cs) %{_mandir}/cs/man6/wesnothd.6*
%lang(de) %{_mandir}/de/man6/wesnothd.6*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wesnoth.git/commitdiff/758a0e576dfe03900024f21623d814545907796f
More information about the pld-cvs-commit
mailing list