summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2017-11-05 20:45:15 +0100
committerFrançois Andriot <[email protected]>2017-11-05 20:45:15 +0100
commitcb43c3f39b699530ab0d2e0b84d1256608e988de (patch)
treebb634f4a16e7aaf5ef1e98413a8f46879afbec74 /redhat
parentf604d2d72f45d13aeb1706c855624e40a43a602b (diff)
downloadtde-packaging-cb43c3f39b699530ab0d2e0b84d1256608e988de.tar.gz
tde-packaging-cb43c3f39b699530ab0d2e0b84d1256608e988de.zip
RPM: enable xsession file on Mageia 6
Diffstat (limited to 'redhat')
-rw-r--r--redhat/main/tdebase/tdebase-14.0.0.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec
index d0ef2da2f..786589e4a 100644
--- a/redhat/main/tdebase/tdebase-14.0.0.spec
+++ b/redhat/main/tdebase/tdebase-14.0.0.spec
@@ -2175,7 +2175,7 @@ already. Most users won't need this.
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
/usr/lib/systemd/system/tdm.service
%endif
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} >= 6
%{_datadir}/xsessions/tde.desktop
%endif
@@ -3358,7 +3358,7 @@ fi
# Adds a GDM/KDM/XDM session called 'TDE'
# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'.
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} >= 6
%__install -D -m 644 \
"%{?buildroot}%{tdm_datadir}/sessions/tde.desktop" \
"%{?buildroot}%{_datadir}/xsessions/tde.desktop"