diff --git a/SPECS/kmod-mlx4.spec b/SPECS/kmod-mlx4.spec index fa56f98..dbf9978 100644 --- a/SPECS/kmod-mlx4.spec +++ b/SPECS/kmod-mlx4.spec @@ -1,6 +1,6 @@ %global pkg mlx4 -%global kernel_version_min 4.18.0-305.el8 +%global driver_version 4.18.0-305.el8 %global kernel_version 4.18.0-305.12.1.el8_4 @@ -27,7 +27,7 @@ Summary: Mellanox ConnectX HCA (%{pkg}) driver License: GPLv2 and (BSD or GPLv2) URL: https://www.kernel.org/ -Source0: %{pkg}-%{kernel_version_min}.tar.xz +Source0: %{pkg}-%{driver_version}.tar.xz Patch1: 0001-disable-mlx4_en.patch Patch2: 0002-enable-mlx4_core-gen2.patch @@ -79,7 +79,7 @@ Gen2 and ConnectX-2 adapters: %prep -%autosetup -p1 -n %{pkg}-%{kernel_version_min} +%autosetup -p1 -n %{pkg}-%{driver_version} %build