public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libcap-ng] rawhide: Consolidate around bpf_supported_arches as that is the only time the header matters
Date: Mon, 03 Aug 2026 19:43:48 GMT	[thread overview]
Message-ID: <178578622804.1.10652840812331425386.rpms-libcap-ng-de3b8631b19b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libcap-ng
Branch : rawhide
Commit : de3b8631b19b0dba26b3070633c59f424d0f492a
Author : Steve Grubb <sgrubb@redhat.com>
Date   : 2026-08-03T15:43:34-04:00
Stats  : +2/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libcap-ng/c/de3b8631b19b0dba26b3070633c59f424d0f492a?branch=rawhide

Log:
Consolidate around bpf_supported_arches as that is the only time the header matters

---
diff --git a/libcap-ng.spec b/libcap-ng.spec
index 078a6cc..76d9297 100644
--- a/libcap-ng.spec
+++ b/libcap-ng.spec
@@ -11,9 +11,6 @@ Patch0: 0001-cap-audit-allow-supplying-vmlinux.h-for-reproducible.patch
 
 BuildRequires: gcc make
 BuildRequires: autoconf automake libtool
-%ifnarch %{ix86}
-BuildRequires: kernel-devel
-%endif
 BuildRequires: kernel-headers >= 2.6.11 
 BuildRequires: libattr-devel
 %ifarch %{bpf_supported_arches}
@@ -21,6 +18,7 @@ BuildRequires: libattr-devel
 BuildRequires: clang
 BuildRequires: bpftool libbpf-devel
 BuildRequires: audit-libs-devel
+BuildRequires: kernel-devel
 %endif
 
 %description
@@ -77,9 +75,8 @@ autoreconf -fv --install
 %configure --libdir=%{_libdir} \
 %ifarch %{bpf_supported_arches}
 	 --enable-cap-audit=yes \
-%endif
-%ifnarch %{ix86}
 	--with-vmlinux-h-path="${vmlinux_h}" \
+	--with-vmlinux-h=provided \
 %endif
 	--with-python3
 

                 reply	other threads:[~2026-08-03 19:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178578622804.1.10652840812331425386.rpms-libcap-ng-de3b8631b19b@fedoraproject.org \
    --to=sgrubb@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox