[Rpm-maint] [rpm-software-management/rpm] Let eBPF ELF files be packaged in noarch packages (PR #2902)

Panu Matilainen notifications at github.com
Tue Feb 13 10:02:53 UTC 2024


eBPF ELF represents a virtual machine where our file colors make no sense at all. Filter out the color from these files to avoid a "Arch dependent binaries in noarch package" error from them in noarch packages.

We don't want to pull in clang to the check images just because of this, so add a pre-built binary for the check and a simple way to reproduce from the test-spec.

Fixes: #2875
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2902

-- Commit Summary --

  * Let eBPF ELF files be packaged in noarch packages

-- File Changes --

    M build/rpmfc.c (7)
    A tests/data/SPECS/bpf.spec (36)
    A tests/data/misc/bpf.o (0)
    M tests/rpmbuild.at (12)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2902.patch
https://github.com/rpm-software-management/rpm/pull/2902.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2902
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2902 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240213/fc186d96/attachment.html>


More information about the Rpm-maint mailing list