diff --git a/google-authenticator.spec b/google-authenticator.spec index e424532..184e46d 100644 --- a/google-authenticator.spec +++ b/google-authenticator.spec @@ -12,6 +12,7 @@ Source0: %{name}-0.%{snapdate}.hg%{snapshot}.tar.gz Patch1: 0001-Add-no-drop-privs-option-to-manage-secret-files-as-r.patch Patch2: 0002-Allow-expansion-of-PAM-environment-variables-in-secr.patch BuildRequires: pam-devel qrencode-devel +Conflicts: filesystem < 3 %description The Google Authenticator package contains a pluggable authentication @@ -42,13 +43,13 @@ cd libpam %install rm -rf $RPM_BUILD_ROOT cd libpam -mkdir -p $RPM_BUILD_ROOT/%{_lib}/security -install -m0755 pam_google_authenticator.so $RPM_BUILD_ROOT/%{_lib}/security/pam_google_authenticator.so +mkdir -p $RPM_BUILD_ROOT/%{_libdir}/security +install -m0755 pam_google_authenticator.so $RPM_BUILD_ROOT/%{_libdir}/security/pam_google_authenticator.so mkdir -p $RPM_BUILD_ROOT/%{_bindir} install -m0755 google-authenticator $RPM_BUILD_ROOT/%{_bindir}/google-authenticator %files -/%{_lib}/security/* +%{_libdir}/security/* %{_bindir}/google-authenticator %doc libpam/FILEFORMAT libpam/README libpam/totp.html