aboutsummaryrefslogtreecommitdiffstats
path: root/rpm/redhat/spl-kmod.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/redhat/spl-kmod.spec.in')
-rw-r--r--rpm/redhat/spl-kmod.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpm/redhat/spl-kmod.spec.in b/rpm/redhat/spl-kmod.spec.in
index 393528597..6fcc4a898 100644
--- a/rpm/redhat/spl-kmod.spec.in
+++ b/rpm/redhat/spl-kmod.spec.in
@@ -27,7 +27,6 @@ This package contains the kernel modules required to emulate
several interfaces provided by the Solaris kernel.
%define kmod_name spl
-%define debug_package %{nil}
%kernel_module_package -n %{kmod_name} -p %{_sourcedir}/kmod-preamble
@@ -96,6 +95,8 @@ make install \
DESTDIR=${RPM_BUILD_ROOT} \
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