public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/openvswitch] rawhide: Fix build on RHEL 11
Date: Sun, 26 Jul 2026 16:55:07 GMT [thread overview]
Message-ID: <178508490725.1.11097440602405464685.rpms-openvswitch-28aca9fe023a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/openvswitch
Branch : rawhide
Commit : 28aca9fe023a3f20bdcc71fd0c689926ef6ea606
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-07-26T12:54:16-04:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/openvswitch/c/28aca9fe023a3f20bdcc71fd0c689926ef6ea606?branch=rawhide
Log:
Fix build on RHEL 11
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin applies here too.
---
diff --git a/openvswitch.spec b/openvswitch.spec
index dfd3582..c2e2fea 100644
--- a/openvswitch.spec
+++ b/openvswitch.spec
@@ -294,7 +294,7 @@ rm -rf $RPM_BUILD_ROOT
make -C build-dpdk install-exec DESTDIR=$RPM_BUILD_ROOT
# We only need ovs-vswitchd-dpdk and some libraries for dpdk subpackage
-%if 0%{?fedora} < 42
+%if ( 0%{?rhel} && 0%{?rhel} < 11 ) || ( 0%{?fedora} && 0%{?fedora} < 42)
rm -rf $RPM_BUILD_ROOT%{_bindir}
%endif
find $RPM_BUILD_ROOT%{_sbindir} -mindepth 1 -maxdepth 1 -not -name ovs-vswitchd.dpdk -delete
reply other threads:[~2026-07-26 16:55 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=178508490725.1.11097440602405464685.rpms-openvswitch-28aca9fe023a@fedoraproject.org \
--to=yselkowi@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