diff --git a/libxcrypt.spec b/libxcrypt.spec index 18221c1..a2b85f7 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -375,13 +375,7 @@ popd # Install documentation to shared %%_pkgdocdir. %{__install} -Dpm 0644 -t %{buildroot}%{_pkgdocdir} \ - ChangeLog NEWS README THANKS TODO - - -# Install additional README* files, if existing, to shared %%_pkgdocdir. -for f in ./README.*; do - %{__install} -Dpm 0644 -t %{buildroot}%{_pkgdocdir} $f -done + ChangeLog NEWS README* THANKS TODO # Drop README.md as it is identical to README. %{__rm} -f %{buildroot}%{_pkgdocdir}/README.md @@ -471,6 +465,7 @@ done * Tue Feb 19 2019 Björn Esser - 4.4.3-8 - Update Obsoletes, Provides, and Requires to glibc 2.27 - Add Recommends: whois-mkpasswd for Fedora +- Optimize installation of the documentation files * Tue Feb 19 2019 Björn Esser - 4.4.3-7 - Add patch to fix the output formatting of a test