diff --git a/libxcrypt.spec b/libxcrypt.spec index 677a0a1..d2b98ab 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -73,10 +73,11 @@ %{?__debug_package:%{__debug_install_post}} \ %{__arch_install_post} \ %{__os_install_post} \ +%{_bindir}/fipshmac %{buildroot}/%{_lib}/libcrypt.a \ %{_bindir}/fipshmac %{buildroot}/%{_lib}/libcrypt.so.%{sov} \ %{__ln_s} .libcrypt.so.%{sov}.hmac \\\ %{buildroot}/%{_lib}/.libcrypt.so.%{soc}.hmac \ -if [[ %{with new_api} == 1 ]]; then \ +if [[ %{with new_api} == 1 ]]; then \ %{_bindir}/fipshmac %{buildroot}/%{_lib}/libcrypt.so.%{csov} \ %{__ln_s} .libcrypt.so.%{csov}.hmac \\\ %{buildroot}/%{_lib}/.libcrypt.so.%{csoc}.hmac \ @@ -345,12 +346,14 @@ done %files static +/%{_lib}/.libcrypt.a.hmac /%{_lib}/libcrypt.a %changelog * Wed Nov 14 2018 Björn Esser - 4.3.3-3 - Add two upstream patches with minor fixes +- Add HMAC checksum file for the static library * Tue Nov 13 2018 Björn Esser - 4.3.3-2 - Add a patch to define crypt_gensalt_r as macro, so applications