Skip to content

Commit deaef67

Browse files
committed
Fix RPM installation dependency on Oracle Linux
This commit has the dependency fix for RPM installation on Oracle Linux which has cuse.ko provided in kernel-uek-modules-extra instead. RM #4222425 Signed-off-by: Liming Sun <[email protected]>
1 parent aa99505 commit deaef67

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rshim.spec.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ Source0: https://github.com/mellanox/rshim-user-space/archive/%{name}-%{version}
1515
BuildRequires: gcc, autoconf, automake, pkgconfig, make
1616
BuildRequires: pkgconfig(libpci), pkgconfig(libusb-1.0)
1717

18+
%if (0%{?oraclelinux} >= 8)
19+
Requires: kernel-uek-core
20+
%else
1821
%if (0%{?rhel} >= 8 || 0%{?fedora} > 0) && "0%{?ctyunos}" == "0"
1922
Requires: kernel-modules-extra
2023
%endif
24+
%endif
2125

2226
%global with_systemd %(if (test -d "%{_unitdir}" > /dev/null); then echo -n '1'; else echo -n '0'; fi)
2327
%global debug_package %{nil}

0 commit comments

Comments
 (0)