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>
|
||||
|
||||
|
8
xdm.spec
8
xdm.spec
@ -45,6 +45,7 @@ BuildRequires: libtool
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: pkgconfig(libbsd)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xau)
|
||||
BuildRequires: pkgconfig(xaw7)
|
||||
@ -131,7 +132,8 @@ mv etc/X11/xdm/* usr%{_sysconfdir}/X11/xdm
|
||||
for i in xdm-config Xservers; do
|
||||
cp usr%{_sysconfdir}/X11/xdm/$i etc/X11/xdm/$i
|
||||
done
|
||||
mv etc/pam.d usr%{_sysconfdir}/
|
||||
mkdir -p ./%{_pam_vendordir}
|
||||
mv etc/pam.d/* ./%{_pam_vendordir}/
|
||||
%else
|
||||
patch -p0 < %{PATCH4}
|
||||
%endif
|
||||
@ -250,8 +252,8 @@ sed -i 's/DISPLAYMANAGER=.*//g' %{_sysconfdir}/sysconfig/displaymanager
|
||||
%config %{_sysconfdir}/logrotate.d/xdm
|
||||
%endif
|
||||
%if 0%{?UsrEtcMove}
|
||||
%{_distconfdir}/pam.d/xdm
|
||||
%{_distconfdir}/pam.d/xdm-np
|
||||
%{_pam_vendordir}/xdm
|
||||
%{_pam_vendordir}/xdm-np
|
||||
%else
|
||||
%config(noreplace) %{_sysconfdir}/pam.d/xdm
|
||||
%config(noreplace) %{_sysconfdir}/pam.d/xdm-np
|
||||
|
Loading…
Reference in New Issue
Block a user