From 68b0be3c42ebdfecfd7a7c3c4cf356f902392ffa Mon Sep 17 00:00:00 2001 From: Jiri Jaburek Date: Oct 03 2016 14:29:16 +0000 Subject: 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 --- diff --git a/beakerlib.spec b/beakerlib.spec index f3c3c89..7054cd7 100644 --- a/beakerlib.spec +++ b/beakerlib.spec @@ -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