summaryrefslogtreecommitdiffstats
path: root/rpm/redhat/zfs-kmod.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/redhat/zfs-kmod.spec.in')
-rw-r--r--rpm/redhat/zfs-kmod.spec.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/rpm/redhat/zfs-kmod.spec.in b/rpm/redhat/zfs-kmod.spec.in
index ecc809bc6..fa0c1108e 100644
--- a/rpm/redhat/zfs-kmod.spec.in
+++ b/rpm/redhat/zfs-kmod.spec.in
@@ -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