Improve install of additional README files
This commit is contained in:
parent
5e0cebbeb7
commit
a9b48ed719
@ -363,23 +363,10 @@ popd
|
||||
ChangeLog NEWS README THANKS TODO
|
||||
|
||||
|
||||
# Install distribution README file, if existing, to shared %%_pkgdocdir.
|
||||
if [ -f README%{distname} ]; then
|
||||
%{__install} -Dpm 0644 -t %{buildroot}%{_pkgdocdir} \
|
||||
README%{distname}
|
||||
fi
|
||||
|
||||
# Install README-POSIX file, if existing, to shared %%_pkgdocdir.
|
||||
if [ -f README-POSIX ]; then
|
||||
%{__install} -Dpm 0644 -t %{buildroot}%{_pkgdocdir} \
|
||||
README-POSIX
|
||||
fi
|
||||
|
||||
# Install README-STATIC file, if existing, to shared %%_pkgdocdir.
|
||||
if [ -f README-STATIC ]; then
|
||||
%{__install} -Dpm 0644 -t %{buildroot}%{_pkgdocdir} \
|
||||
README-STATIC
|
||||
fi
|
||||
# Install additional README* files, if existing, to shared %%_pkgdocdir.
|
||||
for f in ./README*; do
|
||||
%{__install} -Dpm 0644 -t %{buildroot}%{_pkgdocdir} $f
|
||||
done
|
||||
|
||||
|
||||
%check
|
||||
|
Loading…
Reference in New Issue
Block a user