diff --git a/SPECS/kernel-5.15.spec b/SPECS/kernel-5.15.spec index dad0e72..5cdf01a 100755 --- a/SPECS/kernel-5.15.spec +++ b/SPECS/kernel-5.15.spec @@ -382,9 +382,9 @@ BuildKernel() { # Select the correct flavour configuration file. if [ -z "${Flavour}" ]; then #%{__cp} config-%{version}-%{_target_cpu} .config - %{__cp} config-%{version}-%{configarch} .config + %{__cp} config-%{cpuarch} .config else - %{__cp} config-%{version}-%{_target_cpu}-${Flavour} .config + %{__cp} config-%{_target_cpu}-${Flavour} .config fi %define KVRFA %{version}-%{release}${Flavour}.%{_target_cpu}