From a0b9f318876c2599705496d75a98cc1b88e802fa Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Aug 30 2021 11:20:57 +0000 Subject: Rename kernel_version_min to driver_version --- diff --git a/SPECS/kmod-mptspi.spec b/SPECS/kmod-mptspi.spec index 9b57803..452de9c 100644 --- a/SPECS/kmod-mptspi.spec +++ b/SPECS/kmod-mptspi.spec @@ -1,6 +1,6 @@ %global pkg mptspi -%global kernel_version_min 4.18.0-80.el8 +%global driver_version 4.18.0-80.el8 %global kernel_version 4.18.0-305.12.1.el8_4 @@ -27,7 +27,7 @@ Summary: Fusion MPT SPI Host (%{pkg}) driver License: GPLv2 URL: https://www.kernel.org/ -Source0: %{pkg}-%{kernel_version_min}.tar.xz +Source0: %{pkg}-%{driver_version}.tar.xz Patch1: 0001-add-deprecated-ids.patch ExclusiveArch: x86_64 aarch64 @@ -68,7 +68,7 @@ It supports the following adapters: %prep -%autosetup -p1 -n %{pkg}-%{kernel_version_min} +%autosetup -p1 -n %{pkg}-%{driver_version} %build