[teeworlds] spec: fix introduced new tdm server cfg
Igor Gnatenko
ignatenkobrain at fedoraproject.org
Tue Jul 23 13:58:44 UTC 2013
commit e658161e3d9b01267b26c2ac485f9a45282c60a8
Author: Igor Gnatenko <i.gnatenko.brain at gmail.com>
Date: Tue Jul 23 17:58:09 2013 +0400
spec: fix introduced new tdm server cfg
Signed-off-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
teeworlds.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/teeworlds.spec b/teeworlds.spec
index 1d81e16..ebc9d3e 100644
--- a/teeworlds.spec
+++ b/teeworlds.spec
@@ -14,7 +14,8 @@ Source2: %{name}.desktop
Source3: %{name}-server at .service
# example configs file for server
Source4: server_dm.cfg
-Source5: server_ctf.cfg
+Source5: server_dm.cfg
+Source6: server_ctf.cfg
Patch0: %{name}-0.6.2-extlibs-optflags.patch
BuildRequires: mesa-libGLU-devel
@@ -107,18 +108,22 @@ mkdir -p %{buildroot}%{_unitdir}/
install -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}-server at .service
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/
install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/%{name}/dm.cfg
-install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/%{name}/ctf.cfg
+install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/%{name}/tdm.cfg
+install -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/%{name}/ctf.cfg
%post server
%systemd_post %{name}-server at dm.service
+%systemd_post %{name}-server at tdm.service
%systemd_post %{name}-server at ctf.service
%preun server
%systemd_preun %{name}-server at dm.service
+%systemd_preun %{name}-server at tdm.service
%systemd_preun %{name}-server at ctf.service
%postun server
%systemd_postun_with_restart %{name}-server at dm.service
+%systemd_postun_with_restart %{name}-server at tdm.service
%systemd_postun_with_restart %{name}-server at ctf.service
%files
More information about the scm-commits
mailing list