public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libcap-ng] rawhide: Consolidate around bpf_supported_arches as that is the only time the header matters
@ 2026-08-03 19:43 Steve Grubb
0 siblings, 0 replies; only message in thread
From: Steve Grubb @ 2026-08-03 19:43 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-03 19:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 19:43 [rpms/libcap-ng] rawhide: Consolidate around bpf_supported_arches as that is the only time the header matters Steve Grubb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox