Bug 1001252 - python-django-tastypie : duplicate documentation files / potentially conflicting
python-django-tastypie : duplicate documentation files / potentially conflicting
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: python-django-tastypie (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Bohuslav "Slavek" Kabrda
Fedora Extras Quality Assurance
:
Depends On:
Blocks: F20UnversionedDocDirs
  Show dependency treegraph
 
Reported: 2013-08-26 15:55 EDT by Michael Schwendt
Modified: 2013-08-27 04:53 EDT (History)
4 users (show)

See Also:
Fixed In Version: python-django-tastypie-0.9.14-4.fc21
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-08-27 04:53:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michael Schwendt 2013-08-26 15:55:59 EDT
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]

[...]

=> python-django-tastypie-0.9.14-3.fc20.src.rpm
=> python-django-tastypie-0.9.14-3.fc20.noarch in fedora-development-i386
  File conflict with: python-django-tastypie-doc-0.9.14-3.fc20.noarch
     /usr/share/doc/python-django-tastypie/AUTHORS
     /usr/share/doc/python-django-tastypie/LICENSE
     /usr/share/doc/python-django-tastypie/README.rst
     /usr/share/doc/python-django-tastypie/html/_sources/api.txt
     /usr/share/doc/python-django-tastypie/html/_sources/authentication.txt
     /usr/share/doc/python-django-tastypie/html/_sources/authorization.txt
     /usr/share/doc/python-django-tastypie/html/_sources/bundles.txt
     /usr/share/doc/python-django-tastypie/html/_sources/caching.txt
     /usr/share/doc/python-django-tastypie/html/_sources/compatibility_notes.txt
     /usr/share/doc/python-django-tastypie/html/_sources/content_types.txt
     /usr/share/doc/python-django-tastypie/html/_sources/contributing.txt
     /usr/share/doc/python-django-tastypie/html/_sources/cookbook.txt
     /usr/share/doc/python-django-tastypie/html/_sources/debugging.txt
     /usr/share/doc/python-django-tastypie/html/_sources/fields.txt
     /usr/share/doc/python-django-tastypie/html/_sources/geodjango.txt
     /usr/share/doc/python-django-tastypie/html/_sources/index.txt
     /usr/share/doc/python-django-tastypie/html/_sources/interacting.txt
     /usr/share/doc/python-django-tastypie/html/_sources/non_orm_data_sources.txt
     /usr/share/doc/python-django-tastypie/html/_sources/paginator.txt
     /usr/share/doc/python-django-tastypie/html/_sources/resources.txt
     /usr/share/doc/python-django-tastypie/html/_sources/serialization.txt
     /usr/share/doc/python-django-tastypie/html/_sources/settings.txt
     /usr/share/doc/python-django-tastypie/html/_sources/testing.txt
     /usr/share/doc/python-django-tastypie/html/_sources/throttling.txt
     /usr/share/doc/python-django-tastypie/html/_sources/toc.txt
     /usr/share/doc/python-django-tastypie/html/_sources/tools.txt
     /usr/share/doc/python-django-tastypie/html/_sources/tutorial.txt
     /usr/share/doc/python-django-tastypie/html/_sources/validation.txt
     /usr/share/doc/python-django-tastypie/html/_sources/who_uses.txt
     /usr/share/doc/python-django-tastypie/html/_static/ajax-loader.gif
     /usr/share/doc/python-django-tastypie/html/_static/basic.css
     /usr/share/doc/python-django-tastypie/html/_static/comment-bright.png
     /usr/share/doc/python-django-tastypie/html/_static/comment-close.png
     /usr/share/doc/python-django-tastypie/html/_static/comment.png
     /usr/share/doc/python-django-tastypie/html/_static/default.css
     /usr/share/doc/python-django-tastypie/html/_static/doctools.js
     /usr/share/doc/python-django-tastypie/html/_static/down-pressed.png
     /usr/share/doc/python-django-tastypie/html/_static/down.png
     /usr/share/doc/python-django-tastypie/html/_static/file.png
     /usr/share/doc/python-django-tastypie/html/_static/jquery.js
     /usr/share/doc/python-django-tastypie/html/_static/minus.png
     /usr/share/doc/python-django-tastypie/html/_static/plus.png
     /usr/share/doc/python-django-tastypie/html/_static/pygments.css
     /usr/share/doc/python-django-tastypie/html/_static/searchtools.js
     /usr/share/doc/python-django-tastypie/html/_static/sidebar.js
     /usr/share/doc/python-django-tastypie/html/_static/underscore.js
     /usr/share/doc/python-django-tastypie/html/_static/up-pressed.png
     /usr/share/doc/python-django-tastypie/html/_static/up.png
     /usr/share/doc/python-django-tastypie/html/_static/websupport.js
     /usr/share/doc/python-django-tastypie/html/api.html
     /usr/share/doc/python-django-tastypie/html/authentication.html
     /usr/share/doc/python-django-tastypie/html/authorization.html
     /usr/share/doc/python-django-tastypie/html/bundles.html
     /usr/share/doc/python-django-tastypie/html/caching.html
     /usr/share/doc/python-django-tastypie/html/compatibility_notes.html
     /usr/share/doc/python-django-tastypie/html/content_types.html
     /usr/share/doc/python-django-tastypie/html/contributing.html
     /usr/share/doc/python-django-tastypie/html/cookbook.html
     /usr/share/doc/python-django-tastypie/html/debugging.html
     /usr/share/doc/python-django-tastypie/html/fields.html
     /usr/share/doc/python-django-tastypie/html/genindex.html
     /usr/share/doc/python-django-tastypie/html/geodjango.html
     /usr/share/doc/python-django-tastypie/html/index.html
     /usr/share/doc/python-django-tastypie/html/interacting.html
     /usr/share/doc/python-django-tastypie/html/non_orm_data_sources.html
     /usr/share/doc/python-django-tastypie/html/objects.inv
     /usr/share/doc/python-django-tastypie/html/paginator.html
     /usr/share/doc/python-django-tastypie/html/py-modindex.html
     /usr/share/doc/python-django-tastypie/html/resources.html
     /usr/share/doc/python-django-tastypie/html/search.html
     /usr/share/doc/python-django-tastypie/html/searchindex.js
     /usr/share/doc/python-django-tastypie/html/serialization.html
     /usr/share/doc/python-django-tastypie/html/settings.html
     /usr/share/doc/python-django-tastypie/html/testing.html
     /usr/share/doc/python-django-tastypie/html/throttling.html
     /usr/share/doc/python-django-tastypie/html/toc.html
     /usr/share/doc/python-django-tastypie/html/tools.html
     /usr/share/doc/python-django-tastypie/html/tutorial.html
     /usr/share/doc/python-django-tastypie/html/validation.html
     /usr/share/doc/python-django-tastypie/html/who_uses.html

=> python-django-tastypie-0.9.14-3.fc20.src.rpm
=> python-django-tastypie-doc-0.9.14-3.fc20.noarch in fedora-development-i386
  File conflict with: python-django-tastypie-0.9.14-3.fc20.noarch
     /usr/share/doc/python-django-tastypie/AUTHORS
     /usr/share/doc/python-django-tastypie/LICENSE
     /usr/share/doc/python-django-tastypie/README.rst
     /usr/share/doc/python-django-tastypie/html/_sources/api.txt
     /usr/share/doc/python-django-tastypie/html/_sources/authentication.txt
     /usr/share/doc/python-django-tastypie/html/_sources/authorization.txt
     /usr/share/doc/python-django-tastypie/html/_sources/bundles.txt
     /usr/share/doc/python-django-tastypie/html/_sources/caching.txt
     /usr/share/doc/python-django-tastypie/html/_sources/compatibility_notes.txt
     /usr/share/doc/python-django-tastypie/html/_sources/content_types.txt
     /usr/share/doc/python-django-tastypie/html/_sources/contributing.txt
     /usr/share/doc/python-django-tastypie/html/_sources/cookbook.txt
     /usr/share/doc/python-django-tastypie/html/_sources/debugging.txt
     /usr/share/doc/python-django-tastypie/html/_sources/fields.txt
     /usr/share/doc/python-django-tastypie/html/_sources/geodjango.txt
     /usr/share/doc/python-django-tastypie/html/_sources/index.txt
     /usr/share/doc/python-django-tastypie/html/_sources/interacting.txt
     /usr/share/doc/python-django-tastypie/html/_sources/non_orm_data_sources.txt
     /usr/share/doc/python-django-tastypie/html/_sources/paginator.txt
     /usr/share/doc/python-django-tastypie/html/_sources/resources.txt
     /usr/share/doc/python-django-tastypie/html/_sources/serialization.txt
     /usr/share/doc/python-django-tastypie/html/_sources/settings.txt
     /usr/share/doc/python-django-tastypie/html/_sources/testing.txt
     /usr/share/doc/python-django-tastypie/html/_sources/throttling.txt
     /usr/share/doc/python-django-tastypie/html/_sources/toc.txt
     /usr/share/doc/python-django-tastypie/html/_sources/tools.txt
     /usr/share/doc/python-django-tastypie/html/_sources/tutorial.txt
     /usr/share/doc/python-django-tastypie/html/_sources/validation.txt
     /usr/share/doc/python-django-tastypie/html/_sources/who_uses.txt
     /usr/share/doc/python-django-tastypie/html/_static/ajax-loader.gif
     /usr/share/doc/python-django-tastypie/html/_static/basic.css
     /usr/share/doc/python-django-tastypie/html/_static/comment-bright.png
     /usr/share/doc/python-django-tastypie/html/_static/comment-close.png
     /usr/share/doc/python-django-tastypie/html/_static/comment.png
     /usr/share/doc/python-django-tastypie/html/_static/default.css
     /usr/share/doc/python-django-tastypie/html/_static/doctools.js
     /usr/share/doc/python-django-tastypie/html/_static/down-pressed.png
     /usr/share/doc/python-django-tastypie/html/_static/down.png
     /usr/share/doc/python-django-tastypie/html/_static/file.png
     /usr/share/doc/python-django-tastypie/html/_static/jquery.js
     /usr/share/doc/python-django-tastypie/html/_static/minus.png
     /usr/share/doc/python-django-tastypie/html/_static/plus.png
     /usr/share/doc/python-django-tastypie/html/_static/pygments.css
     /usr/share/doc/python-django-tastypie/html/_static/searchtools.js
     /usr/share/doc/python-django-tastypie/html/_static/sidebar.js
     /usr/share/doc/python-django-tastypie/html/_static/underscore.js
     /usr/share/doc/python-django-tastypie/html/_static/up-pressed.png
     /usr/share/doc/python-django-tastypie/html/_static/up.png
     /usr/share/doc/python-django-tastypie/html/_static/websupport.js
     /usr/share/doc/python-django-tastypie/html/api.html
     /usr/share/doc/python-django-tastypie/html/authentication.html
     /usr/share/doc/python-django-tastypie/html/authorization.html
     /usr/share/doc/python-django-tastypie/html/bundles.html
     /usr/share/doc/python-django-tastypie/html/caching.html
     /usr/share/doc/python-django-tastypie/html/compatibility_notes.html
     /usr/share/doc/python-django-tastypie/html/content_types.html
     /usr/share/doc/python-django-tastypie/html/contributing.html
     /usr/share/doc/python-django-tastypie/html/cookbook.html
     /usr/share/doc/python-django-tastypie/html/debugging.html
     /usr/share/doc/python-django-tastypie/html/fields.html
     /usr/share/doc/python-django-tastypie/html/genindex.html
     /usr/share/doc/python-django-tastypie/html/geodjango.html
     /usr/share/doc/python-django-tastypie/html/index.html
     /usr/share/doc/python-django-tastypie/html/interacting.html
     /usr/share/doc/python-django-tastypie/html/non_orm_data_sources.html
     /usr/share/doc/python-django-tastypie/html/objects.inv
     /usr/share/doc/python-django-tastypie/html/paginator.html
     /usr/share/doc/python-django-tastypie/html/py-modindex.html
     /usr/share/doc/python-django-tastypie/html/resources.html
     /usr/share/doc/python-django-tastypie/html/search.html
     /usr/share/doc/python-django-tastypie/html/searchindex.js
     /usr/share/doc/python-django-tastypie/html/serialization.html
     /usr/share/doc/python-django-tastypie/html/settings.html
     /usr/share/doc/python-django-tastypie/html/testing.html
     /usr/share/doc/python-django-tastypie/html/throttling.html
     /usr/share/doc/python-django-tastypie/html/toc.html
     /usr/share/doc/python-django-tastypie/html/tools.html
     /usr/share/doc/python-django-tastypie/html/tutorial.html
     /usr/share/doc/python-django-tastypie/html/validation.html
     /usr/share/doc/python-django-tastypie/html/who_uses.html
Comment 1 Bohuslav "Slavek" Kabrda 2013-08-27 04:53:35 EDT
Fixed for both F20 and rawhide:

python-django-tastypie-0.9.14-4.fc20: http://koji.fedoraproject.org/koji/taskinfo?taskID=5858782
python-django-tastypie-0.9.14-4.fc21: http://koji.fedoraproject.org/koji/taskinfo?taskID=5858743

Note You need to log in before you can comment on or make changes to this bug.