Skip to content

Unwanted directories added to RPM #953

@yakirgb

Description

@yakirgb

When creating an RPM, unwanted directories and files of /usr/lib/.build-id/ are included in the RPM, .

[root@u1 ~]# rpm -ql gh-ost-1.1.2-1
/usr/bin/gh-ost
/usr/lib/.build-id
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/dd5acac09d7d035b4a07fdce618a4eab59366c

Based on: https://fedoraproject.org/wiki/Releases/FeatureBuildId and https://fedoraproject.org/wiki/Changes/ParallelInstallableDebuginfo
Add --rpm-rpmbuild-define "_build_id_links none" to fpm should fix the issue

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