Inlcude 'README.fedora' if existing

This commit is contained in:
Björn Esser 2018-11-10 13:53:57 +01:00
parent c1e7c4ba04
commit c732dc9366
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -257,6 +257,11 @@ popd
%{__install} -Dpm 0644 -t %{buildroot}%{_pkgdocdir} \
ChangeLog NEWS README THANKS TODO
if [ -f README.fedora ]; then
%{__install} -Dpm 0644 -t %{buildroot}%{_pkgdocdir} \
README.fedora
fi
# Install license files to shared %%_licensedir.
%{__install} -Dpm 0644 -t %{buildroot}%{_pkglicensedir} \
AUTHORS COPYING.LIB LICENSING
@ -303,7 +308,7 @@ done
%files common
%doc %dir %{_pkgdocdir}
%doc %{_pkgdocdir}/NEWS
%doc %{_pkgdocdir}/README
%doc %{_pkgdocdir}/README*
%doc %{_pkgdocdir}/THANKS
%license %dir %{_pkglicensedir}
%license %{_pkglicensedir}/AUTHORS