RPM: enable xsession file on Mageia 6

pull/3/head
François Andriot 7 years ago
parent f604d2d72f
commit cb43c3f39b

@ -2175,7 +2175,7 @@ already. Most users won't need this.
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
/usr/lib/systemd/system/tdm.service /usr/lib/systemd/system/tdm.service
%endif %endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} >= 6
%{_datadir}/xsessions/tde.desktop %{_datadir}/xsessions/tde.desktop
%endif %endif
@ -3358,7 +3358,7 @@ fi
# Adds a GDM/KDM/XDM session called 'TDE' # Adds a GDM/KDM/XDM session called 'TDE'
# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'. # 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 \ %__install -D -m 644 \
"%{?buildroot}%{tdm_datadir}/sessions/tde.desktop" \ "%{?buildroot}%{tdm_datadir}/sessions/tde.desktop" \
"%{?buildroot}%{_datadir}/xsessions/tde.desktop" "%{?buildroot}%{_datadir}/xsessions/tde.desktop"

Loading…
Cancel
Save