This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gobroker. commit 608b5831dc5ca97fae7843c118ce4c54644c6020 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Mon Feb 24 13:17:09 2014 +0100 x2gobroker.spec: more work on sysv vs. systemd --- x2gobroker.spec | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/x2gobroker.spec b/x2gobroker.spec index 91fd657..d7ab1e1 100644 --- a/x2gobroker.spec +++ b/x2gobroker.spec @@ -7,8 +7,10 @@ Group: Applications/Communications Url: http://www.x2go.org/ Source0: http://code.x2go.org/releases/source/%name/%name-%version.tar.gz +%if 0%{?el5} || 0%{?el6} Source1: x2gobroker-daemon.init Source2: x2gobroker-authservice.init +%endif %if 0%{?el5} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -264,7 +266,8 @@ install -pm0755 %SOURCE2 \ "$b/%_initrddir/x2gobroker-authservice" install -pm0755 %SOURCE1 \ "$b/%_initrddir/x2gobroker-daemon" -%else +%endif +%if 0%{?el6} mkdir -p "$b/%_initddir" install -pm0755 %SOURCE2 \ "$b/%_initddir/x2gobroker-authservice" @@ -372,8 +375,15 @@ fi; %files authservice %defattr(-,root,root) +%if 0%{el5} +%_initrddir/x2gobroker-authservice +%endif +%if 0%{el6} %_initddir/x2gobroker-authservice +%endif +%if 0%{?el5} || 0%{?el6} %config %_sysconfdir/default/x2gobroker-authservice +%endif %config %_sysconfdir/logrotate.d/x2gobroker-authservice %_sbindir/x2gobroker-authservice %_mandir/man8/x2gobroker-authservice.8* @@ -383,7 +393,15 @@ fi; %defattr(-,root,root) %_bindir/x2gobroker-daemon %_initddir/x2gobroker-daemon +%if 0%{el5} +%_initrddir/x2gobroker-daemon +%endif +%if 0%{el6} +%_initddir/x2gobroker-daemon +%endif +%if 0%{?el5} || 0%{?el6} %config %_sysconfdir/default/x2gobroker-daemon +%endif %_sbindir/x2gobroker-daemon-debug %_mandir/man8/x2gobroker-daemon-debug.8* -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git