pam_ssh_agent_auth - change paths from %{_lib} to %{_libdir}

This commit is contained in:
Petr Lautrbach 2013-02-12 09:42:54 +01:00
parent 19725a9954
commit d2b3b9a27e

View File

@ -575,7 +575,7 @@ popd
%if %{pam_ssh_agent} %if %{pam_ssh_agent}
pushd pam_ssh_agent_auth-%{pam_ssh_agent_ver} pushd pam_ssh_agent_auth-%{pam_ssh_agent_ver}
LDFLAGS="$SAVE_LDFLAGS" LDFLAGS="$SAVE_LDFLAGS"
%configure --with-selinux --libexecdir=/%{_lib}/security --with-mantype=man %configure --with-selinux --libexecdir=/%{_libdir}/security --with-mantype=man
make make
popd popd
%endif %endif
@ -776,7 +776,7 @@ getent passwd sshd >/dev/null || \
%files -n pam_ssh_agent_auth %files -n pam_ssh_agent_auth
%defattr(-,root,root) %defattr(-,root,root)
%doc pam_ssh_agent_auth-%{pam_ssh_agent_ver}/OPENSSH_LICENSE %doc pam_ssh_agent_auth-%{pam_ssh_agent_ver}/OPENSSH_LICENSE
%attr(0755,root,root) /%{_lib}/security/pam_ssh_agent_auth.so %attr(0755,root,root) %{_libdir}/security/pam_ssh_agent_auth.so
%attr(0644,root,root) %{_mandir}/man8/pam_ssh_agent_auth.8* %attr(0644,root,root) %{_mandir}/man8/pam_ssh_agent_auth.8*
%endif %endif