Accepting request 998595 from X11:XOrg
- add buildrequires for bsd/stdlib.h (bsc#1202222) - Use %_pam_vendordir OBS-URL: https://build.opensuse.org/request/show/998595 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdm?expand=0&rev=95
This commit is contained in:
commit
4c927c0acb
10
xdm.changes
10
xdm.changes
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 19 09:42:56 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add buildrequires for bsd/stdlib.h (bsc#1202222)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 9 12:34:33 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
- Use %_pam_vendordir
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 30 12:18:41 UTC 2022 - Stefan Schubert <schubi@suse.de>
|
Thu Jun 30 12:18:41 UTC 2022 - Stefan Schubert <schubi@suse.de>
|
||||||
|
|
||||||
|
8
xdm.spec
8
xdm.spec
@ -45,6 +45,7 @@ BuildRequires: libtool
|
|||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
|
BuildRequires: pkgconfig(libbsd)
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xau)
|
BuildRequires: pkgconfig(xau)
|
||||||
BuildRequires: pkgconfig(xaw7)
|
BuildRequires: pkgconfig(xaw7)
|
||||||
@ -131,7 +132,8 @@ mv etc/X11/xdm/* usr%{_sysconfdir}/X11/xdm
|
|||||||
for i in xdm-config Xservers; do
|
for i in xdm-config Xservers; do
|
||||||
cp usr%{_sysconfdir}/X11/xdm/$i etc/X11/xdm/$i
|
cp usr%{_sysconfdir}/X11/xdm/$i etc/X11/xdm/$i
|
||||||
done
|
done
|
||||||
mv etc/pam.d usr%{_sysconfdir}/
|
mkdir -p ./%{_pam_vendordir}
|
||||||
|
mv etc/pam.d/* ./%{_pam_vendordir}/
|
||||||
%else
|
%else
|
||||||
patch -p0 < %{PATCH4}
|
patch -p0 < %{PATCH4}
|
||||||
%endif
|
%endif
|
||||||
@ -250,8 +252,8 @@ sed -i 's/DISPLAYMANAGER=.*//g' %{_sysconfdir}/sysconfig/displaymanager
|
|||||||
%config %{_sysconfdir}/logrotate.d/xdm
|
%config %{_sysconfdir}/logrotate.d/xdm
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?UsrEtcMove}
|
%if 0%{?UsrEtcMove}
|
||||||
%{_distconfdir}/pam.d/xdm
|
%{_pam_vendordir}/xdm
|
||||||
%{_distconfdir}/pam.d/xdm-np
|
%{_pam_vendordir}/xdm-np
|
||||||
%else
|
%else
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/xdm
|
%config(noreplace) %{_sysconfdir}/pam.d/xdm
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/xdm-np
|
%config(noreplace) %{_sysconfdir}/pam.d/xdm-np
|
||||||
|
Loading…
Reference in New Issue
Block a user