From 767af56c88bf61d9ecbfaee01779a72498958687 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Aug 30 2021 10:50:43 +0000 Subject: Rename kernel_version_min to driver_version --- diff --git a/SPECS/kmod-mlx4.spec b/SPECS/kmod-mlx4.spec index ab0f7a1..63054ca 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-315.el8 +%global driver_version 4.18.0-315.el8 %global kernel_version 4.18.0-331.el8 @@ -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