Bug 1001273
Summary: | realmd : duplicate documentation files / potentially conflicting | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Schwendt <bugs.michael> | ||||
Component: | realmd | Assignee: | Stef Walter <stefw> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | jhrozek, jrieden, stefw, ville.skytta | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | realmd-0.16.0-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-10-19 07:40:28 UTC | Type: | --- | ||||
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: | 993551 | ||||||
Attachments: |
|
Description
Michael Schwendt
2013-08-26 20:04:38 UTC
Created attachment 836979 [details]
proposed spec changes/fixes
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 These files have been moved to the realmd-devel-docs package. Your builds in koji do not fix the issue, because you still mix %doc and %_pkgdocdir: $ rpm -E %_pkgdocdir %{_docdir}/%{name} | %files -f realmd.lang | %doc AUTHORS COPYING NEWS README | %files devel-docs | %doc %{_datadir}/doc/realmd/ | %doc ChangeLog Since the UnversionedDocdirs feature, default docdir for %doc is %{_docdir}/%{name} which is your %{_datadir}/doc/realmd, and that results in duplication of everything in that dir when using %doc. The FPC has recently updated the guidelines, and it is forbidden now: https://fedoraproject.org/wiki/Packaging:Guidelines#Documentation | Marking a relative path with %doc in the %files section will cause RPM | to copy the referenced file or directory from %_builddir to the proper# | location for documentation. Files can also be placed in %_pkgdocdir, and | the build scripts of the software being packaged may do this automatically | when called in %install. However, mixing these methods is problematic and | may result in duplicated or conflicting files, so use of %doc with relative | paths and installation of files directly into %_pkgdocdir in the same source | package is forbidden. I believe this has been fixed by: http://rpm.org/wiki/Releases/4.13.0 - Don't include not explicitly listed files from doc dir into package (#728959) |