From 4b31a96f3708d9f17c6bd1c40a19724dec940f07d083e19286e1e33d607e2983 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Str=C3=B6der?= Date: Mon, 18 Oct 2021 09:08:31 +0000 Subject: [PATCH] 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 --- nss-pam-ldapd.changes | 5 +++++ nss-pam-ldapd.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/nss-pam-ldapd.changes b/nss-pam-ldapd.changes index 1ccddb4..7090c73 100644 --- a/nss-pam-ldapd.changes +++ b/nss-pam-ldapd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 18 08:57:02 UTC 2021 - Michael Ströder + +- Define _pam_moduledir if not set to fix builds for Leap and SLE + ------------------------------------------------------------------- Mon Oct 11 09:32:04 UTC 2021 - Johannes Segitz diff --git a/nss-pam-ldapd.spec b/nss-pam-ldapd.spec index 6d8afcd..9558626 100644 --- a/nss-pam-ldapd.spec +++ b/nss-pam-ldapd.spec @@ -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