Accepting request 925985 from home:stroeder:branches:network:ldap

Define _pam_moduledir if not set to fix builds for Leap and SLE

OBS-URL: https://build.opensuse.org/request/show/925985
OBS-URL: https://build.opensuse.org/package/show/network:ldap/nss-pam-ldapd?expand=0&rev=23
This commit is contained in:
Michael Ströder 2021-10-18 09:08:31 +00:00 committed by Git OBS Bridge
parent 1abc64e8aa
commit 4b31a96f37
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 18 08:57:02 UTC 2021 - Michael Ströder <michael@stroeder.com>
- Define _pam_moduledir if not set to fix builds for Leap and SLE
-------------------------------------------------------------------
Mon Oct 11 09:32:04 UTC 2021 - Johannes Segitz <jsegitz@suse.com>

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{!?_pam_moduledir: %define _pam_moduledir %{_libdir}/security}
Name: nss-pam-ldapd
Version: 0.9.11
@ -91,6 +92,7 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcnslcd
%license COPYING
%doc AUTHORS ChangeLog NEWS README
/%{_lib}/libnss_ldap.so.2
%dir %{_pam_moduledir}
%{_pam_moduledir}/pam_ldap.so
%{_mandir}/man?/*
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/nslcd.conf