From 1bcd352cd9987669472ddd8c9628fcdebdf480e8 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Aug 30 2021 10:49:53 +0000 Subject: Rename kernel_version_min to driver_version --- diff --git a/SPECS/kmod-be2net.spec b/SPECS/kmod-be2net.spec index 72914f1..22be301 100644 --- a/SPECS/kmod-be2net.spec +++ b/SPECS/kmod-be2net.spec @@ -1,6 +1,6 @@ %global pkg be2net -%global kernel_version_min 4.18.0-331.el8 +%global driver_version 4.18.0-331.el8 %global kernel_version 4.18.0-331.el8 @@ -27,7 +27,7 @@ Summary: Emulex OneConnect NIC (%{pkg}) driver License: GPLv2 URL: https://www.kernel.org/ -Source0: %{pkg}-%{kernel_version_min}.tar.xz +Source0: %{pkg}-%{driver_version}.tar.xz Patch1: 0001-enable-be2-and-be3.patch ExclusiveArch: x86_64 @@ -71,7 +71,7 @@ BladeEngine 3 (BE3) devices: %prep -%autosetup -p1 -n %{pkg}-%{kernel_version_min} +%autosetup -p1 -n %{pkg}-%{driver_version} %build