[X2Go-Commits] [x2gobroker] 01/01: x2gobroker.spec: Only install tmpfiles.d configs on systems that support/have systemd.
git-admin at x2go.org
git-admin at x2go.org
Mon Apr 30 19:40:14 CEST 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gobroker.
commit c453bdd4f738b198ebe89882a4cc94e57df518c1
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Apr 30 19:40:09 2018 +0200
x2gobroker.spec: Only install tmpfiles.d configs on systems that support/have systemd.
---
x2gobroker.spec | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/x2gobroker.spec b/x2gobroker.spec
index 4eb41d1..628605d 100644
--- a/x2gobroker.spec
+++ b/x2gobroker.spec
@@ -712,7 +712,9 @@ fi
%config %_sysconfdir/logrotate.d/x2gobroker-authservice
%_sbindir/x2gobroker-authservice
%_mandir/man8/x2gobroker-authservice.8*
-%{_prefix}/lib/tmpfiles.d/x2gobroker-authservice.conf
+%if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?suse_version} >= 1210
+%_prefix/lib/tmpfiles.d/x2gobroker-authservice.conf
+%endif
%attr(02750,x2gobroker,x2gobroker) %_localstatedir/log/x2gobroker
@@ -733,7 +735,9 @@ fi
%config %_sysconfdir/logrotate.d/x2gobroker-loadchecker
%_sbindir/x2gobroker-loadchecker
%_mandir/man8/x2gobroker-loadchecker.8*
-%{_prefix}/lib/tmpfiles.d/x2gobroker-loadchecker.conf
+%if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?suse_version} >= 1210
+%_prefix/lib/tmpfiles.d/x2gobroker-loadchecker.conf
+%endif
%attr(02750,x2gobroker,x2gobroker) %_localstatedir/log/x2gobroker
@@ -755,7 +759,9 @@ fi
%_sbindir/x2gobroker-daemon-debug
%_mandir/man1/x2gobroker-daemon.1*
%_mandir/man8/x2gobroker-daemon-debug.8*
-%{_prefix}/lib//tmpfiles.d/x2gobroker-daemon.conf
+%if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?suse_version} >= 1210
+%_prefix/lib//tmpfiles.d/x2gobroker-daemon.conf
+%endif
%config %_sysconfdir/logrotate.d/x2gobroker-daemon
%attr(02750,x2gobroker,x2gobroker) %_localstatedir/log/x2gobroker
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
More information about the x2go-commits
mailing list