diff --git a/SPECS/kmod-hpsa.spec b/SPECS/kmod-hpsa.spec index b5d795e..50d2f15 100644 --- a/SPECS/kmod-hpsa.spec +++ b/SPECS/kmod-hpsa.spec @@ -1,6 +1,6 @@ %global pkg hpsa -%global kernel_version_min 4.18.0-305.el8 +%global driver_version 4.18.0-305.el8 %global kernel_version 4.18.0-331.el8 @@ -27,7 +27,7 @@ Summary: HP Smart Array Controller (%{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 @@ -67,7 +67,7 @@ originally used with the old cciss driver. %prep -%autosetup -p1 -n %{pkg}-%{kernel_version_min} +%autosetup -p1 -n %{pkg}-%{driver_version} %build