diff --git a/cifs-utils.changes b/cifs-utils.changes index 8fd829b..9d11569 100644 --- a/cifs-utils.changes +++ b/cifs-utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 14 15:34:45 UTC 2021 - Ludwig Nussel + +- use new %_pamdir macro to avoid hardcoding pam module path + ------------------------------------------------------------------- Tue Nov 17 13:42:23 UTC 2020 - Ludwig Nussel diff --git a/cifs-utils.spec b/cifs-utils.spec index a4400d3..c9d05b0 100644 --- a/cifs-utils.spec +++ b/cifs-utils.spec @@ -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