1
0
forked from pool/nss-pam-ldapd

Accepting request 922006 from home:dimstar:Factory

- Use %_pam_moduledir instead of hardcoding %{_lib}/security
  (boo#1191050).

OBS-URL: https://build.opensuse.org/request/show/922006
OBS-URL: https://build.opensuse.org/package/show/network:ldap/nss-pam-ldapd?expand=0&rev=21
This commit is contained in:
Michael Vetter 2021-09-28 15:27:48 +00:00 committed by Git OBS Bridge
parent 63c607541c
commit de2332c3de
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 28 13:53:39 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %_pam_moduledir instead of hardcoding %{_lib}/security
(boo#1191050).
-------------------------------------------------------------------
Mon Oct 7 05:24:19 UTC 2019 - mvetter@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package nss-pam-ldapd
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -57,7 +57,7 @@ connections, authentication, attribute translation, etc.
autoreconf
export CPPFLAGS="-I/usr/include/sasl"
%configure --libdir=/%{_lib} \
--with-pam-seclib-dir=/%{_lib}/security \
--with-pam-seclib-dir=%{_pam_moduledir} \
--disable-utils
make %{?_smp_mflags}
@ -91,7 +91,7 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcnslcd
%license COPYING
%doc AUTHORS ChangeLog NEWS README
/%{_lib}/libnss_ldap.so.2
/%{_lib}/security/pam_ldap.so
%{_pam_moduledir}/pam_ldap.so
%{_mandir}/man?/*
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/nslcd.conf
/%{_unitdir}/nslcd.service