Bug 1001260

Summary: gluegen : duplicate documentation files / potentially conflicting
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: gluegenAssignee: Gwyn Ciesla <gwync>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gwync, tuliomac
Target Milestone: ---   
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-27 14:28:31 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:09 UTC
Duplicate documentation files have been detected in the package
builds for Rawhide and Fedora 20. The likely cause is the unversioned
docdirs change in Fedora 20.

If your package %installs documentation files into %{_docdir}/%{name}/ to
store them in a subpackage, this now conflicts with using the %doc
macro in the base package. Since Fedora 20, the %doc macro installs into
the unversioned %{_docdir}/%{name}/ and includes everything in that
directory. One obvious fix is to decide between either using %doc or
installing into %{_docdir}/%{name}/ manually as explained in the
Packaging tricks Wiki section (for past dist releases and the versioned
docdir).

General discussion of this problem:
https://fedorahosted.org/fpc/ticket/338

Further information:
http://fedoraproject.org/wiki/Changes/UnversionedDocdirs
https://fedoraproject.org/wiki/Packaging_tricks#Installing_documentation:_2_paths

[semi-automated bug report]

[...]

=> gluegen-1-0.20102507svn15.fc20.src.rpm
=> gluegen-manual-1-0.20102507svn15.fc20.noarch in fedora-development-i386
  File conflict with: gluegen-1-0.20102507svn15.fc20.i686
     /usr/share/doc/gluegen/LICENSE.txt
     /usr/share/doc/gluegen/example1/function.c
     /usr/share/doc/gluegen/example1/function.cfg
     /usr/share/doc/gluegen/example1/function.h
     /usr/share/doc/gluegen/example1/gen.sh
     /usr/share/doc/gluegen/example2/function.c
     /usr/share/doc/gluegen/example2/function.cfg
     /usr/share/doc/gluegen/example2/function.h
     /usr/share/doc/gluegen/example2/gen.sh
     /usr/share/doc/gluegen/example3/function.cfg
     /usr/share/doc/gluegen/example3/function.h
     /usr/share/doc/gluegen/example3/gen.sh
     /usr/share/doc/gluegen/example4/function.c
     /usr/share/doc/gluegen/example4/function.cfg
     /usr/share/doc/gluegen/example4/function.h
     /usr/share/doc/gluegen/example4/gen.sh
     /usr/share/doc/gluegen/example5/function.c
     /usr/share/doc/gluegen/example5/function.cfg
     /usr/share/doc/gluegen/example5/function.h
     /usr/share/doc/gluegen/example5/gen.sh
     /usr/share/doc/gluegen/example6/function.cfg
     /usr/share/doc/gluegen/example6/function.h
     /usr/share/doc/gluegen/example6/gen.sh
     /usr/share/doc/gluegen/example7/function.cfg
     /usr/share/doc/gluegen/example7/function.h
     /usr/share/doc/gluegen/example7/gen.sh
     /usr/share/doc/gluegen/index.html

=> gluegen-1-0.20102507svn15.fc20.src.rpm
=> gluegen-1-0.20102507svn15.fc20.i686 in fedora-development-i386
  File conflict with: gluegen-manual-1-0.20102507svn15.fc20.noarch
     /usr/share/doc/gluegen/LICENSE.txt
     /usr/share/doc/gluegen/example1/function.c
     /usr/share/doc/gluegen/example1/function.cfg
     /usr/share/doc/gluegen/example1/function.h
     /usr/share/doc/gluegen/example1/gen.sh
     /usr/share/doc/gluegen/example2/function.c
     /usr/share/doc/gluegen/example2/function.cfg
     /usr/share/doc/gluegen/example2/function.h
     /usr/share/doc/gluegen/example2/gen.sh
     /usr/share/doc/gluegen/example3/function.cfg
     /usr/share/doc/gluegen/example3/function.h
     /usr/share/doc/gluegen/example3/gen.sh
     /usr/share/doc/gluegen/example4/function.c
     /usr/share/doc/gluegen/example4/function.cfg
     /usr/share/doc/gluegen/example4/function.h
     /usr/share/doc/gluegen/example4/gen.sh
     /usr/share/doc/gluegen/example5/function.c
     /usr/share/doc/gluegen/example5/function.cfg
     /usr/share/doc/gluegen/example5/function.h
     /usr/share/doc/gluegen/example5/gen.sh
     /usr/share/doc/gluegen/example6/function.cfg
     /usr/share/doc/gluegen/example6/function.h
     /usr/share/doc/gluegen/example6/gen.sh
     /usr/share/doc/gluegen/example7/function.cfg
     /usr/share/doc/gluegen/example7/function.h
     /usr/share/doc/gluegen/example7/gen.sh
     /usr/share/doc/gluegen/index.html