diff --git a/nss-pam-ldapd.changes b/nss-pam-ldapd.changes index 084672b..9344bad 100644 --- a/nss-pam-ldapd.changes +++ b/nss-pam-ldapd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 28 13:53:39 UTC 2021 - Dominique Leuenberger + +- Use %_pam_moduledir instead of hardcoding %{_lib}/security + (boo#1191050). + ------------------------------------------------------------------- Mon Oct 7 05:24:19 UTC 2019 - mvetter@suse.com diff --git a/nss-pam-ldapd.spec b/nss-pam-ldapd.spec index ecbd558..6d8afcd 100644 --- a/nss-pam-ldapd.spec +++ b/nss-pam-ldapd.spec @@ -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