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
|
ChangeLog NEWS README THANKS TODO
|
||||||
|
|
||||||
|
|
||||||
# Install distribution README file, if existing, to shared %%_pkgdocdir.
|
# Install additional README* files, if existing, to shared %%_pkgdocdir.
|
||||||
if [ -f README%{distname} ]; then
|
for f in ./README*; do
|
||||||
%{__install} -Dpm 0644 -t %{buildroot}%{_pkgdocdir} \
|
%{__install} -Dpm 0644 -t %{buildroot}%{_pkgdocdir} $f
|
||||||
README%{distname}
|
done
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
Reference in New Issue
Block a user