public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openvswitch] rawhide: Fix build on RHEL 11
@ 2026-07-26 16:55 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-26 16:55 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-26 16:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-26 16:55 [rpms/openvswitch] rawhide: Fix build on RHEL 11 Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox