Bug 1001264
Summary: | OpenColorIO : duplicate documentation files / potentially conflicting | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Schwendt <bugs.michael> |
Component: | OpenColorIO | Assignee: | Richard Shaw <hobbes1069> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | hobbes1069 |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-28 19:01:35 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 |
Description
Michael Schwendt
2013-08-26 19:57:44 UTC
Fixed and rebuilt for rawhide and F20. The fix is insufficient and is a no-op: %files doc -%doc %{_docdir}/%{name}/ +%{_docdir}/%{name}/ Files below %_docdir are marked as %doc (documentation) automatically. It has never been needed to write "%doc %{_docdir}/%{name}/" instead of just "%{_docdir}/%{name}/". These two sections conflict: > %files > %doc ChangeLog LICENSE README > %files doc > %{_docdir}/%{name}/ It's still not clear to me... Can I call %doc twice? (once per package) Is it just that I can't mix %doc and direct methods? The latter. You can't mix the two methods, if they store the files in the same directory. For Fedora <= 19 that has been the versioned docdir, now it's the unversioned one. Since Fedora 20, the following happens: > %files > %doc ChangeLog LICENSE README At the end of the %install section, the files ChangeLog, LICENSE and README get copied into %{buildroot}%{_docdir}/%{name}/. When packaging up the binary rpm, the entire directory gets included in the package, regardless of the three files ChangeLog LICENSE README you've specified. The %files section for the -doc subpackage also includes the entire directory, even the three files ChangeLog LICENSE README from the base package %doc line: > %files doc > %{_docdir}/%{name}/ Ok, went with the move method and used %doc in both packages. Should be fixed this time. |