Skip to content

No deduplication on %doc #195

@mcepl

Description

@mcepl

It is too common to include a folder of documentation in %doc statement in %files. Unfortunately, there is no deduplication there (and when not using %install there is not even a possibility of doing deduplication explicitly), so we get rpmlint warnings like:

[   36s] python311-abimap-doc.noarch: W: files-duplicate /usr/share/doc/packages/python311-abimap-doc/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff /usr/share/doc/packages/python311-abimap-doc/html/_stat
ic/css/fonts/Roboto-Slab-Bold.woff

and these are completely correct ones and sometimes quite substantial in size (images, fonts).

We need to investigate, whether there is something we could do about this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions