wildcard %doc flagging - anything under _pkgdocdir

This changes only purely metadata-related information, specifically
what rpm --docfiles prints. The actual documentation files are already
included in the RPM by %dir.

Testing on RHEL6 with both rpm -ql and rpm -qd, no change could be
observed in the final generated RPM, so this change should have no
impact on anything working with the final RPM itself.

Signed-off-by: Jiri Jaburek <jjaburek@redhat.com>
This commit is contained in:
Jiri Jaburek 2015-05-27 19:33:35 +02:00 committed by Dalibor Pospisil
parent 00dffe3f10
commit 68b0be3c42

View File

@ -59,11 +59,7 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/%{name}/*.sh
%{_bindir}/%{name}-*
%{_mandir}/man1/%{name}*1*
%doc %{_pkgdocdir}/LICENSE
%doc %{_pkgdocdir}/README
%doc %{_pkgdocdir}/VERSION
%doc %{_pkgdocdir}/MAINTENANCE
%doc %{_pkgdocdir}/examples/*/*
%doc %{_pkgdocdir}/*
%config %{_tmpfilesdir}/%{name}.conf