%bcond_without zfs
%bcond_with ldiskfs
+# LUTF Turn off brp-python-precompile script as we don't want the python files
+# to be compiled on installation
+%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
+
# Set the package name prefix
%if %{with servers}
%if %{with zfs}
%define lustre_name @PACKAGE@-client
%endif
-%if %{_vendor}=="redhat" || %{_vendor}=="fedora"
+%if "%{_vendor}" == "redhat" || "%{_vendor}" == "fedora"
%global kmod_name kmod-%{lustre_name}
%define mkconf_options %{nil}
-%else #for Suse / Ubuntu
+#for Suse / Ubuntu
+%else
%global kmod_name %{lustre_name}-kmp
%define mkconf_options "-k updates"
%endif