From f73f90cbbad169802c3fb475158a87e2140daa94 Mon Sep 17 00:00:00 2001 From: Pat Riehecky Date: Jul 15 2022 13:56:21 +0000 Subject: EL8 doesn't have %_pam_libdir --- diff --git a/pam_krb5.spec b/pam_krb5.spec index ff4fbd9..9d95646 100644 --- a/pam_krb5.spec +++ b/pam_krb5.spec @@ -38,7 +38,7 @@ supported with recent MIT Kerberos. %autopatch -p1 %build -%configure --libdir=%{_pam_libdir} +%configure --libdir=%{_libdir} %make_build %install @@ -48,7 +48,7 @@ supported with recent MIT Kerberos. sed -ri -e 's|/lib(64)?/|/\$LIB/|g' %{buildroot}/%{_mandir}/man*/pam_krb5*.5* # cleanup -rm -f %{buildroot}/%{_pam_libdir}/security/*.la +rm -f %{buildroot}/%{_libdir}/security/*.la %check # https://github.com/rra/pam-krb5/issues/25 @@ -61,7 +61,7 @@ rm -f %{buildroot}/%{_pam_libdir}/security/*.la %files %license LICENSE %doc README NEWS TODO -%{_pam_libdir}/security/* +%{_libdir}/security/* %{_mandir}/man5/* %changelog