diff --git a/libxcrypt.spec b/libxcrypt.spec index 78410bf..e2f9fa2 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -284,7 +284,7 @@ by the %{name}-compat package. EOF %endif %if %{with enosys_stubs} -%{__cat} << EOF >> README-POSIX +%{__cat} << EOF >> README.posix This version of the libcrypt.so.1 library has entirely removed the functionality of the encrypt, encrypt_r, setkey, setkey_r, and fcrypt functions, while keeping fully binary compatibility @@ -302,7 +302,7 @@ libcrypt.so.1 library in place. EOF %endif %if %{with staticlib} -%{__cat} << EOF >> README-STATIC +%{__cat} << EOF >> README.static Applications that use certain legacy APIs supplied by glibc’s libcrypt (encrypt, encrypt_r, setkey, setkey_r, and fcrypt) cannot be compiled nor linked against the supplied build of @@ -364,7 +364,7 @@ popd # Install additional README* files, if existing, to shared %%_pkgdocdir. -for f in ./README*; do +for f in ./README.*; do %{__install} -Dpm 0644 -t %{buildroot}%{_pkgdocdir} $f done @@ -413,7 +413,7 @@ done %doc %{_pkgdocdir}/README%{distname} %endif %if %{with enosys_stubs} && %{without compat_pkg} -%doc %{_pkgdocdir}/README-POSIX +%doc %{_pkgdocdir}/README.posix %endif %doc %{_pkgdocdir}/THANKS %license AUTHORS COPYING.LIB LICENSING @@ -425,7 +425,7 @@ done %if %{with compat_pkg} %files compat %if %{with enosys_stubs} -%doc %{_pkgdocdir}/README-POSIX +%doc %{_pkgdocdir}/README.posix %endif /%{_lib}/.libcrypt.so.{%{csoc},%{csov}}.hmac /%{_lib}/libcrypt.so.{%{csoc},%{csov}} @@ -446,7 +446,7 @@ done %if %{with staticlib} %files static -%doc %{_pkgdocdir}/README-STATIC +%doc %{_pkgdocdir}/README.static /%{_lib}/.lib{,x}crypt.a.hmac /%{_lib}/lib{,x}crypt.a %endif @@ -454,8 +454,8 @@ done %changelog * Wed Jan 30 2019 Björn Esser - 4.4.3-4 -- Add a README-POSIX file with information about the stub functions -- Add a README-STATIC file with information about the static library +- Add a README.posix file with information about the stub functions +- Add a README.static file with information about the static library * Wed Jan 30 2019 Björn Esser - 4.4.3-3 - Replace unsafe functions in libxcrypt-compat with stubs (#1670735)