Bug 1001248

Summary: jogl2 : duplicate documentation files / potentially conflicting
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: jogl2Assignee: Clément DAVID <c.david86>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: c.david86, java-sig-commits
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: jogl2-2.0.2-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 05:48:26 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:55:30 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]

[...]

=> jogl2-2.0-0.11.rc12.fc20.src.rpm
=> jogl2-doc-2.0-0.11.rc12.fc20.noarch in fedora-development-i386
  File conflict with: jogl2-2.0-0.11.rc12.fc20.i686
     /usr/share/doc/jogl2/CHANGELOG.txt
     /usr/share/doc/jogl2/HowToBuild.html
     /usr/share/doc/jogl2/Implementation/Lifecycle.txt
     /usr/share/doc/jogl2/Implementation/MultiThreading.txt
     /usr/share/doc/jogl2/Implementation/runtime-properties.txt
     /usr/share/doc/jogl2/LICENSE.txt
     /usr/share/doc/jogl2/NEWT-Overview.html
     /usr/share/doc/jogl2/NEWT.txt
     /usr/share/doc/jogl2/NewUI-Req01.txt
     /usr/share/doc/jogl2/Overview-OpenGL-Evolution-And-JOGL.html
     /usr/share/doc/jogl2/Platform.Applets.txt
     /usr/share/doc/jogl2/Platform.GLES.txt
     /usr/share/doc/jogl2/Platforms.txt
     /usr/share/doc/jogl2/README.txt
     /usr/share/doc/jogl2/TODO.txt
     /usr/share/doc/jogl2/bouml/html-svg/classdiagrams.html
     /usr/share/doc/jogl2/bouml/html-svg/classes.html
     /usr/share/doc/jogl2/bouml/html-svg/classes_list.html
     /usr/share/doc/jogl2/bouml/html-svg/fig128069.svg
     /usr/share/doc/jogl2/bouml/html-svg/index-withframe.html
     /usr/share/doc/jogl2/bouml/html-svg/index.html
     /usr/share/doc/jogl2/bouml/html-svg/index_65.html
     /usr/share/doc/jogl2/bouml/html-svg/index_67.html
     /usr/share/doc/jogl2/bouml/html-svg/index_71.html
     /usr/share/doc/jogl2/bouml/html-svg/index_74.html
     /usr/share/doc/jogl2/bouml/html-svg/index_78.html
     /usr/share/doc/jogl2/bouml/html-svg/index_79.html
     /usr/share/doc/jogl2/bouml/html-svg/index_82.html
     /usr/share/doc/jogl2/bouml/html-svg/navig.html
     /usr/share/doc/jogl2/bouml/html-svg/packages.html
     /usr/share/doc/jogl2/bouml/html-svg/style.css
     /usr/share/doc/jogl2/bouml/html/classdiagrams.html
     /usr/share/doc/jogl2/bouml/html/classes.html
     /usr/share/doc/jogl2/bouml/html/classes_list.html
     /usr/share/doc/jogl2/bouml/html/fig128069.png
     /usr/share/doc/jogl2/bouml/html/index-withframe.html
     /usr/share/doc/jogl2/bouml/html/index.html
     /usr/share/doc/jogl2/bouml/html/index_65.html
     /usr/share/doc/jogl2/bouml/html/index_67.html
     /usr/share/doc/jogl2/bouml/html/index_71.html
     /usr/share/doc/jogl2/bouml/html/index_74.html
     /usr/share/doc/jogl2/bouml/html/index_78.html
     /usr/share/doc/jogl2/bouml/html/index_79.html
     /usr/share/doc/jogl2/bouml/html/index_82.html
     /usr/share/doc/jogl2/bouml/html/navig.html
     /usr/share/doc/jogl2/bouml/html/packages.html
     /usr/share/doc/jogl2/bouml/html/style.css
     /usr/share/doc/jogl2/bouml/jogl/128069.diagram
     /usr/share/doc/jogl2/bouml/jogl/2.session
     /usr/share/doc/jogl2/bouml/jogl/69.session
     /usr/share/doc/jogl2/bouml/jogl/cpp_includes
     /usr/share/doc/jogl2/bouml/jogl/generation_settings
     /usr/share/doc/jogl2/bouml/jogl/idl_includes
     /usr/share/doc/jogl2/bouml/jogl/java_imports
     /usr/share/doc/jogl2/bouml/jogl/jogl.prj
     /usr/share/doc/jogl2/bouml/jogl/python_imports
     /usr/share/doc/jogl2/bouml/jogl/stereotypes
     /usr/share/doc/jogl2/bouml/jogl/tools
     /usr/share/doc/jogl2/curve/alt-algorithm-rsantina-01.pdf
     /usr/share/doc/jogl2/deployment/JOGL-DEPLOYMENT.html
     /usr/share/doc/jogl2/deployment/lstjars/lstjars.linux_amd64-20100406.log
     /usr/share/doc/jogl2/deployment/lstjars/lstjars.linux_amd64-20100420.log
     /usr/share/doc/jogl2/differences-from-gl4java.txt
     /usr/share/doc/jogl2/jsr-231-changelog-1.1.0.html
     /usr/share/doc/jogl2/licenses/Apache.LICENSE-1.1
     /usr/share/doc/jogl2/licenses/Apache.LICENSE-2.0
     /usr/share/doc/jogl2/licenses/SGIFreeSWLicB.2.0.pdf
     /usr/share/doc/jogl2/licenses/ubuntu-font-licence-1.0.txt
     /usr/share/doc/jogl2/userguide/index.html
     /usr/share/doc/jogl2/wiki/FAQ.xml

=> jogl2-2.0-0.11.rc12.fc20.src.rpm
=> jogl2-2.0-0.11.rc12.fc20.i686 in fedora-development-i386
  File conflict with: jogl2-doc-2.0-0.11.rc12.fc20.noarch
     /usr/share/doc/jogl2/CHANGELOG.txt
     /usr/share/doc/jogl2/HowToBuild.html
     /usr/share/doc/jogl2/Implementation/Lifecycle.txt
     /usr/share/doc/jogl2/Implementation/MultiThreading.txt
     /usr/share/doc/jogl2/Implementation/runtime-properties.txt
     /usr/share/doc/jogl2/LICENSE.txt
     /usr/share/doc/jogl2/NEWT-Overview.html
     /usr/share/doc/jogl2/NEWT.txt
     /usr/share/doc/jogl2/NewUI-Req01.txt
     /usr/share/doc/jogl2/Overview-OpenGL-Evolution-And-JOGL.html
     /usr/share/doc/jogl2/Platform.Applets.txt
     /usr/share/doc/jogl2/Platform.GLES.txt
     /usr/share/doc/jogl2/Platforms.txt
     /usr/share/doc/jogl2/README.txt
     /usr/share/doc/jogl2/TODO.txt
     /usr/share/doc/jogl2/bouml/html-svg/classdiagrams.html
     /usr/share/doc/jogl2/bouml/html-svg/classes.html
     /usr/share/doc/jogl2/bouml/html-svg/classes_list.html
     /usr/share/doc/jogl2/bouml/html-svg/fig128069.svg
     /usr/share/doc/jogl2/bouml/html-svg/index-withframe.html
     /usr/share/doc/jogl2/bouml/html-svg/index.html
     /usr/share/doc/jogl2/bouml/html-svg/index_65.html
     /usr/share/doc/jogl2/bouml/html-svg/index_67.html
     /usr/share/doc/jogl2/bouml/html-svg/index_71.html
     /usr/share/doc/jogl2/bouml/html-svg/index_74.html
     /usr/share/doc/jogl2/bouml/html-svg/index_78.html
     /usr/share/doc/jogl2/bouml/html-svg/index_79.html
     /usr/share/doc/jogl2/bouml/html-svg/index_82.html
     /usr/share/doc/jogl2/bouml/html-svg/navig.html
     /usr/share/doc/jogl2/bouml/html-svg/packages.html
     /usr/share/doc/jogl2/bouml/html-svg/style.css
     /usr/share/doc/jogl2/bouml/html/classdiagrams.html
     /usr/share/doc/jogl2/bouml/html/classes.html
     /usr/share/doc/jogl2/bouml/html/classes_list.html
     /usr/share/doc/jogl2/bouml/html/fig128069.png
     /usr/share/doc/jogl2/bouml/html/index-withframe.html
     /usr/share/doc/jogl2/bouml/html/index.html
     /usr/share/doc/jogl2/bouml/html/index_65.html
     /usr/share/doc/jogl2/bouml/html/index_67.html
     /usr/share/doc/jogl2/bouml/html/index_71.html
     /usr/share/doc/jogl2/bouml/html/index_74.html
     /usr/share/doc/jogl2/bouml/html/index_78.html
     /usr/share/doc/jogl2/bouml/html/index_79.html
     /usr/share/doc/jogl2/bouml/html/index_82.html
     /usr/share/doc/jogl2/bouml/html/navig.html
     /usr/share/doc/jogl2/bouml/html/packages.html
     /usr/share/doc/jogl2/bouml/html/style.css
     /usr/share/doc/jogl2/bouml/jogl/128069.diagram
     /usr/share/doc/jogl2/bouml/jogl/2.session
     /usr/share/doc/jogl2/bouml/jogl/69.session
     /usr/share/doc/jogl2/bouml/jogl/cpp_includes
     /usr/share/doc/jogl2/bouml/jogl/generation_settings
     /usr/share/doc/jogl2/bouml/jogl/idl_includes
     /usr/share/doc/jogl2/bouml/jogl/java_imports
     /usr/share/doc/jogl2/bouml/jogl/jogl.prj
     /usr/share/doc/jogl2/bouml/jogl/python_imports
     /usr/share/doc/jogl2/bouml/jogl/stereotypes
     /usr/share/doc/jogl2/bouml/jogl/tools
     /usr/share/doc/jogl2/curve/alt-algorithm-rsantina-01.pdf
     /usr/share/doc/jogl2/deployment/JOGL-DEPLOYMENT.html
     /usr/share/doc/jogl2/deployment/lstjars/lstjars.linux_amd64-20100406.log
     /usr/share/doc/jogl2/deployment/lstjars/lstjars.linux_amd64-20100420.log
     /usr/share/doc/jogl2/differences-from-gl4java.txt
     /usr/share/doc/jogl2/jsr-231-changelog-1.1.0.html
     /usr/share/doc/jogl2/licenses/Apache.LICENSE-1.1
     /usr/share/doc/jogl2/licenses/Apache.LICENSE-2.0
     /usr/share/doc/jogl2/licenses/SGIFreeSWLicB.2.0.pdf
     /usr/share/doc/jogl2/licenses/ubuntu-font-licence-1.0.txt
     /usr/share/doc/jogl2/userguide/index.html
     /usr/share/doc/jogl2/wiki/FAQ.xml

Comment 1 Michael Schwendt 2013-12-17 12:45:31 UTC
In koji I see you've updated the package without handling this ticket. The update would have been an opportunity to fix this issue too.

There would be an easy fix, but I wonder why the -doc and -javadoc packages require the base package?

Since there are a few packagers, who add dependencies to -doc noarch packages (as well as -javadoc packages), I've opened a thread on packaging list about that: https://lists.fedoraproject.org/pipermail/packaging/2013-December/009886.html

Comment 2 Fedora Update System 2014-01-09 08:31:23 UTC
jogl2-2.0.2-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/jogl2-2.0.2-2.fc20

Comment 3 Fedora Update System 2014-01-10 07:44:30 UTC
Package jogl2-2.0.2-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing jogl2-2.0.2-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0514/jogl2-2.0.2-2.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-01-21 05:48:26 UTC
jogl2-2.0.2-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.