reinclude setting of kdir/kobjdir
%{!?PROJ_DELIM: %global PROJ_DELIM -ohpc}
%if 0%{?centos_version} == 700
-BuildRequires: kernel-devel
+
+# 7.3 kernel version
+%ifarch aarch64
+%define centos_kernel 4.2.0-0.21.el7
+BuildRequires: kernel = %{centos_kernel}
+BuildRequires: kernel-devel = %{centos_kernel}
+%define kdir /lib/modules/%{centos_kernel}.aarch64/source/
+%define kobjdir /lib/modules/%{centos_kernel}.aarch64/build/
+%else
+%define centos_kernel 3.10.0-514.el7
+BuildRequires: kernel = %{centos_kernel}
+BuildRequires: kernel-devel = %{centos_kernel}
+%define kdir /lib/modules/%{centos_kernel}.x86_64/source/
+%define kobjdir /lib/modules/%{centos_kernel}.x86_64/build/
+%endif
+
%endif
%endif
