SHA256
1
0
forked from pool/xdm

Accepting request 986067 from home:schubi2

- Moved logrotate files from user specific directory /etc/logrotate.d
  to vendor specific directory /usr/etc/logrotate.d.

OBS-URL: https://build.opensuse.org/request/show/986067
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=247
This commit is contained in:
Stefan Dirsch 2022-07-01 08:44:22 +00:00 committed by Git OBS Bridge
parent 6b38ceaa44
commit a18eb083dc
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 30 12:18:41 UTC 2022 - Stefan Schubert <schubi@suse.de>
- Moved logrotate files from user specific directory /etc/logrotate.d
to vendor specific directory /usr/etc/logrotate.d.
-------------------------------------------------------------------
Mon Apr 4 10:13:13 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -176,6 +176,11 @@ ln -s %{_sysconfdir}/alternatives/default-displaymanager %{buildroot}%{_prefix}/
# Inject a dummy 'console' selection - which used to be choice in /etc/sysconfig/displaymanager
touch %{buildroot}%{_prefix}/lib/X11/displaymanagers/console
%if 0%{?UsrEtcMove}
mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
mv %{buildroot}%{_sysconfdir}/logrotate.d/xdm %{buildroot}%{_distconfdir}/logrotate.d/xdm
%endif
%post
# enable Xorg on s390x with virtio (Redhat PCI ID 1af4:1050) on installation (but not upgrade)
if [ $1 -eq 1 ] ; then
@ -239,7 +244,11 @@ sed -i 's/DISPLAYMANAGER=.*//g' %{_sysconfdir}/sysconfig/displaymanager
%{_prefix}/lib/firewalld/services/x11.xml
%{_unitdir}/display-manager.service
%{_prefix}/lib/X11/display-manager
%if 0%{?UsrEtcMove}
%{_distconfdir}/logrotate.d/xdm
%else
%config %{_sysconfdir}/logrotate.d/xdm
%endif
%if 0%{?UsrEtcMove}
%{_distconfdir}/pam.d/xdm
%{_distconfdir}/pam.d/xdm-np