Bug 1001269

Summary: libconfig : duplicate documentation files / potentially conflicting
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: libconfigAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: praiskup, sochotni, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libconfig-1.4.9-5.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 00:44:48 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:58:11 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]

[...]

=> libconfig-1.4.9-4.fc20.src.rpm
=> libconfig-1.4.9-4.fc20.i686 in fedora-development-i386
  File conflict with: libconfig-devel-1.4.9-4.fc20.i686
     /usr/share/doc/libconfig/AUTHORS
     /usr/share/doc/libconfig/COPYING.LIB
     /usr/share/doc/libconfig/ChangeLog
     /usr/share/doc/libconfig/README
     /usr/share/doc/libconfig/libconfig.pdf

=> libconfig-1.4.9-4.fc20.src.rpm
=> libconfig-devel-1.4.9-4.fc20.i686 in fedora-development-i386
  File conflict with: libconfig-1.4.9-4.fc20.i686
     /usr/share/doc/libconfig/AUTHORS
     /usr/share/doc/libconfig/COPYING.LIB
     /usr/share/doc/libconfig/ChangeLog
     /usr/share/doc/libconfig/README
     /usr/share/doc/libconfig/libconfig.pdf

Comment 1 Fedora Update System 2013-09-04 18:44:02 UTC
libconfig-1.4.9-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libconfig-1.4.9-5.fc20

Comment 2 Fedora Update System 2013-09-05 17:52:27 UTC
Package libconfig-1.4.9-5.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 libconfig-1.4.9-5.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15848/libconfig-1.4.9-5.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2013-09-23 00:44:48 UTC
libconfig-1.4.9-5.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.