Accepting request 876250 from home:lnussel:usrmove

- use new %_pamdir macro to avoid hardcoding pam module path

OBS-URL: https://build.opensuse.org/request/show/876250
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=186
This commit is contained in:
Aurelien Aptel 2021-03-02 16:10:18 +00:00 committed by Git OBS Bridge
parent 5c3540dbbc
commit 45199fc963
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 14 15:34:45 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
- use new %_pamdir macro to avoid hardcoding pam module path
-------------------------------------------------------------------
Tue Nov 17 13:42:23 UTC 2020 - Ludwig Nussel <lnussel@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package cifs-utils
#
# Copyright (c) 2020 SUSE LLC
# 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
@ -143,7 +143,7 @@ autoreconf -i
export ROOTSBINDIR="%{_sbindir}"
%endif
%configure \
--with-pamdir=/%{_lib}/security
--with-pamdir=%{_pamdir}
make %{?_smp_mflags}
%install
@ -218,7 +218,7 @@ touch %{buildroot}/%{_sysconfdir}/sysconfig/network/if-{down,up}.d/${script} \
%{_includedir}/cifsidmap.h
%files -n pam_cifscreds
/%{_lib}/security/pam_cifscreds.so
/%{_pamdir}/pam_cifscreds.so
%{_mandir}/man8/pam_cifscreds.8%{ext_man}
%changelog