Bug 1206173

Summary: beakerlib spec file should wildcard %doc inclusion
Product: [Fedora] Fedora Reporter: Jiri Jaburek <jjaburek>
Component: beakerlibAssignee: Dalibor Pospíšil <dapospis>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: azelinka, dapospis, jprokes, mkyral, ohudlick
Target Milestone: ---Keywords: Patch, Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: beakerlib-1.13-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-16 08:47:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1173650, 1218169    
Attachments:
Description Flags
0001-wildcard-doc-flagging-anything-under-_pkgdocdir none

Description Jiri Jaburek 2015-03-26 13:29:56 UTC
Description of problem:

Beakerlib spec file currently does

 %files
 %defattr(-,root,root,-)
 %dir %{_datadir}/%{name}
 %dir %{_pkgdocdir}
 %dir %{_pkgdocdir}/examples
 %dir %{_pkgdocdir}/examples/*
 %{_datadir}/%{name}/dictionary.vim
 %{_datadir}/%{name}/*.sh
 %{_bindir}/%{name}-*
 %{_mandir}/man1/%{name}*1*
 %doc %{_pkgdocdir}/LICENSE
 %doc %{_pkgdocdir}/README
 %doc %{_pkgdocdir}/VERSION
 %doc %{_pkgdocdir}/MAINTENANCE
 %doc %{_pkgdocdir}/examples/*/*
 %config %{_tmpfilesdir}/%{name}.conf

where the %doc is unnecessarily specific, making it hard to add any new documentation in git.

It should be possible to do something like

 %doc %{_pkgdocdir}/*

which I briefly tested on RHEL-6 and the rebuilt beakerlib contains exactly the same files, so the expression seems to be working.


Version-Release number of selected component (if applicable):
beakerlib-1.10

Comment 1 Jiri Jaburek 2015-03-26 13:36:01 UTC
note: file lists checked both with rpm -qdp <file>.rpm, which lists only docfiles, and with regular rpm -qlp <file>.rpm

Comment 2 Jiri Jaburek 2015-05-28 12:12:59 UTC
Created attachment 1031256 [details]
0001-wildcard-doc-flagging-anything-under-_pkgdocdir

Comment 3 Jan Kurik 2015-07-15 14:20:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 5 Fedora End Of Life 2016-11-24 11:37:43 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Fedora End Of Life 2016-12-20 13:25:29 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.