remove unneeded change to basemodpath, disable post build checks
@@ -32,6 +32,8 @@ BuildRequires: kernel-devel = %{centos_kernel}
%define kobjdir /lib/modules/%{centos_kernel}.x86_64/build/
%endif
+BuildRequires: -post-build-checks
+
%endif
%endif
@@ -331,9 +333,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
# Lustre's build system. This is not expected to bother SLES's
# kernel_module_path macro.
-# karl.w.schulz@intel.com (3/23/17) - use %{name} for basemodpath
basemodpath=$RPM_BUILD_ROOT%{modules_fs_path}/%{lustre_name}
-#basemodpath=$RPM_BUILD_ROOT%{modules_fs_path}/%{name}
%if %{with ldiskfs}
mkdir -p $basemodpath-osd-ldiskfs/fs
mv $basemodpath/fs/osd_ldiskfs.ko $basemodpath-osd-ldiskfs/fs/osd_ldiskfs.ko
