X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre-dkms.spec.in;h=9ced9e649d27a8cae3a0f0893bffccd27434e573;hb=af666bef058c5b7997527fc851a84a89375912fb;hp=6ade5a970ad0763942e8e1d87a2f7ea81ccdb0d5;hpb=e2d7e671cf2db6df85f619b3a20ff0d780afee51;p=fs%2Flustre-release.git diff --git a/lustre-dkms.spec.in b/lustre-dkms.spec.in index 6ade5a9..9ced9e6 100644 --- a/lustre-dkms.spec.in +++ b/lustre-dkms.spec.in @@ -2,6 +2,10 @@ %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} @@ -26,7 +30,7 @@ %if %{_vendor}=="redhat" || %{_vendor}=="fedora" %global kmod_name kmod-%{lustre_name} - %define mkconf_options + %define mkconf_options %{nil} %else #for Suse / Ubuntu %global kmod_name %{lustre_name}-kmp %define mkconf_options "-k updates" @@ -58,13 +62,15 @@ BuildArch: noarch Requires: dkms >= 2.2.0.3-28.git.7c3e7c5 # for lnetctl Requires: libyaml-devel +Requires: zlib-devel +# for netlink support +Requires: libnl3-devel %if %{with servers} # If client package is installed when installing server, remove it since # the server package also includes the client. This can be removed if/when # the packages are split into independent client/server/common packages. Obsoletes: @PACKAGE@-client < %{version} %if %{with zfs} -Requires: spl-dkms >= 0.6.5 Requires: zfs-dkms >= 0.6.5 Requires: @PACKAGE@-osd-zfs-mount Conflicts: @PACKAGE@-ldiskfs-dkms