]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - rpm/redhat/zfs-kmod.spec.in
Imported Upstream version 0.6.5.5
[mirror_zfs-debian.git] / rpm / redhat / zfs-kmod.spec.in
index ecc809bc6520fae762cadcfe89de2d2ce9ca86ec..fa0c1108e08977f6460574a352d676b62266c9e0 100644 (file)
@@ -25,7 +25,6 @@ Conflicts:      @PACKAGE@-dkms\n\n" > %{_sourcedir}/kmod-preamble)
 This package contains the ZFS kernel modules.
 
 %define kmod_name @PACKAGE@
-%define debug_package %{nil}
 
 %kernel_module_package -n %{kmod_name} -p %{_sourcedir}/kmod-preamble
 
@@ -79,6 +78,9 @@ make install \
         INSTALL_MOD_DIR=extra/%{kmod_name}
 %{__rm} -f %{buildroot}/lib/modules/%{kverrel}/modules.*
 
+# find-debuginfo.sh only considers executables
+%{__chmod} u+x  %{buildroot}/lib/modules/%{kverrel}/extra/*/*/*
+
 %clean
 rm -rf $RPM_BUILD_ROOT