Bug 1001268

Summary: ocaml-mlgmpidl : duplicate documentation files / potentially conflicting
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: ocaml-mlgmpidlAssignee: Alan Dunn <amdunn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: amdunn, dwheeler, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ocaml-mlgmpidl-1.2.1-0.21.20150921.fc26 ocaml-mlgmpidl-1.2.1-0.21.20150921.fc25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-01 17:31:57 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    
Attachments:
Description Flags
proposed spec changes/fixes none

Description Michael Schwendt 2013-08-26 19:58:05 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]

[...]

=> ocaml-mlgmpidl-1.2.1-0.4.20120830.fc20.src.rpm
=> ocaml-mlgmpidl-1.2.1-0.4.20120830.fc20.i686 in fedora-development-i386
  File conflict with: ocaml-mlgmpidl-doc-1.2.1-0.4.20120830.fc20.i686
     /usr/share/doc/ocaml-mlgmpidl/COPYING
     /usr/share/doc/ocaml-mlgmpidl/README
     /usr/share/doc/ocaml-mlgmpidl/html/Gmp_random.Mpf.html
     /usr/share/doc/ocaml-mlgmpidl/html/Gmp_random.Mpfr.html
     /usr/share/doc/ocaml-mlgmpidl/html/Gmp_random.Mpz.html
     /usr/share/doc/ocaml-mlgmpidl/html/Gmp_random.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpf.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpfr.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpfrf.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpq.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpqf.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpz.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpzf.html
     /usr/share/doc/ocaml-mlgmpidl/html/index.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_attributes.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_class_types.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_classes.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_exceptions.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_methods.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_module_types.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_modules.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_types.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_values.html
     /usr/share/doc/ocaml-mlgmpidl/html/style.css
     /usr/share/doc/ocaml-mlgmpidl/html/type_Gmp_random.Mpf.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Gmp_random.Mpfr.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Gmp_random.Mpz.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Gmp_random.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpf.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpfr.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpfrf.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpq.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpqf.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpz.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpzf.html
     /usr/share/doc/ocaml-mlgmpidl/mlgmpidl.pdf

=> ocaml-mlgmpidl-1.2.1-0.4.20120830.fc20.src.rpm
=> ocaml-mlgmpidl-doc-1.2.1-0.4.20120830.fc20.i686 in fedora-development-i386
  File conflict with: ocaml-mlgmpidl-1.2.1-0.4.20120830.fc20.i686
     /usr/share/doc/ocaml-mlgmpidl/COPYING
     /usr/share/doc/ocaml-mlgmpidl/README
     /usr/share/doc/ocaml-mlgmpidl/html/Gmp_random.Mpf.html
     /usr/share/doc/ocaml-mlgmpidl/html/Gmp_random.Mpfr.html
     /usr/share/doc/ocaml-mlgmpidl/html/Gmp_random.Mpz.html
     /usr/share/doc/ocaml-mlgmpidl/html/Gmp_random.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpf.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpfr.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpfrf.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpq.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpqf.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpz.html
     /usr/share/doc/ocaml-mlgmpidl/html/Mpzf.html
     /usr/share/doc/ocaml-mlgmpidl/html/index.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_attributes.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_class_types.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_classes.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_exceptions.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_methods.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_module_types.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_modules.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_types.html
     /usr/share/doc/ocaml-mlgmpidl/html/index_values.html
     /usr/share/doc/ocaml-mlgmpidl/html/style.css
     /usr/share/doc/ocaml-mlgmpidl/html/type_Gmp_random.Mpf.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Gmp_random.Mpfr.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Gmp_random.Mpz.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Gmp_random.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpf.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpfr.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpfrf.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpq.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpqf.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpz.html
     /usr/share/doc/ocaml-mlgmpidl/html/type_Mpzf.html
     /usr/share/doc/ocaml-mlgmpidl/mlgmpidl.pdf

Comment 1 Michael Schwendt 2013-12-15 16:47:14 UTC
Created attachment 836980 [details]
proposed spec changes/fixes

This would be one way to fix it plus a few other fixes.

Please consider making the -doc package "noarch", or move the docs into the base package with a proper Obsoletes/Provides pair (since the -doc rpm is just 170KB in size).

Comment 2 Jaroslav Reznik 2015-03-03 15:00:49 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 3 Ville Skyttä 2015-10-18 07:47:21 UTC
Seems to be fixed in ocaml-mlgmpidl-1.2.1-0.17.20150204.fc24. Quickly peeking at the commits doesn't reveal exactly why it would be fixed when 0.16 still has the issue, so I'll leave closing this to Michael if you're satisfied with this.

Comment 4 Ville Skyttä 2015-10-18 07:50:07 UTC
(In reply to Ville Skyttä from comment #3)
> Quickly
> peeking at the commits doesn't reveal exactly why it would be fixed when
> 0.16 still has the issue

Ah, maybe it's this:

http://rpm.org/wiki/Releases/4.13.0
- Don't include not explicitly listed files from doc dir into package (#728959)

Comment 5 Jan Kurik 2016-02-24 13:13:23 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 6 Fedora Update System 2017-03-26 00:40:29 UTC
apron-0.9.11-6.1097.svn20160801.fc26, flocq-2.5.2-6.fc26, frama-c-1.14-1.fc26, gappalib-coq-1.3.2-4.fc26, ocaml-mlgmpidl-1.2.1-0.21.20150921.fc26, why-2.38-1.fc26, why3-0.87.3-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-7be55a4bd6

Comment 7 Fedora Update System 2017-03-26 02:39:34 UTC
apron-0.9.11-6.1097.svn20160801.fc25, frama-c-1.14-1.fc25, ocaml-mlgmpidl-1.2.1-0.21.20150921.fc25, why-2.38-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-237df63a79

Comment 8 Fedora Update System 2017-04-01 17:31:57 UTC
apron-0.9.11-6.1097.svn20160801.fc26, flocq-2.5.2-6.fc26, frama-c-1.14-1.fc26, gappalib-coq-1.3.2-4.fc26, ocaml-mlgmpidl-1.2.1-0.21.20150921.fc26, why-2.38-1.fc26, why3-0.87.3-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2017-04-02 20:53:31 UTC
apron-0.9.11-6.1097.svn20160801.fc25, frama-c-1.14-1.fc25, ocaml-mlgmpidl-1.2.1-0.21.20150921.fc25, why-2.38-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.