Hide Forgot
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] [...] => aunit-2012-4.fc20.src.rpm => aunit-devel-2012-4.fc20.i686 in fedora-development-i386 File conflict with: aunit-2012-4.fc20.i686 /usr/share/doc/aunit/COPYING3 /usr/share/doc/aunit/README /usr/share/doc/aunit/aunit.html /usr/share/doc/aunit/aunit.info /usr/share/doc/aunit/aunit.pdf /usr/share/doc/aunit/aunit.txt => aunit-2012-4.fc20.src.rpm => aunit-2012-4.fc20.i686 in fedora-development-i386 File conflict with: aunit-devel-2012-4.fc20.i686 /usr/share/doc/aunit/COPYING3 /usr/share/doc/aunit/README /usr/share/doc/aunit/aunit.html /usr/share/doc/aunit/aunit.info /usr/share/doc/aunit/aunit.pdf /usr/share/doc/aunit/aunit.txt
http://koji.fedoraproject.org/koji/taskinfo?taskID=5888994
* Didn't fix it at all. * Introduced an odd /usr/share/doc/aunit/__doc directory. * No %changelog entry.
(In reply to Michael Schwendt from comment #2) > * Didn't fix it at all. Fixed rpm -qpl aunit-devel-2012-7.fc21.x86_64.rpm | grep doc /usr/share/doc/aunit-devel /usr/share/doc/aunit-devel/COPYING3 /usr/share/doc/aunit-devel/README > * Introduced an odd /usr/share/doc/aunit/__doc directory. Fixed > * No %changelog entry. Added
No files are duplicated anymore, but are they placed correctly? * Now the base package contains the .html/.info/.pdf/.txt developer docs, and the -devel package the license COPYING and README. * The license file belongs into the base package (and the -devel package depends on that one): https://fedoraproject.org/wiki/Packaging:LicensingGuidelines#Subpackage_Licensing * "License" tag claims "GPLv2+", but file COPYING is GPLv3, and source files contain a GPLv3 "or later" preamble. https://fedoraproject.org/wiki/Packaging:LicensingGuidelines#.22or_later_version.22_licenses * The README refers to the docs, which are in a different package. * There's an empty /usr/share/aunit and /usr/share/aunit/examples directory. * %defattr(...) is superfluous even for RHEL5. [...] # repoquery --whatrequires aunit aunit-devel-0:2012-4.fc20.i686 aunit-devel-0:2012-4.fc20.x86_64 I don't reopen the ticket, because the issues are unrelated to the original issue.