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/2...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to