summaryrefslogtreecommitdiffstats
path: root/scripts/kmodtool
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-04-06 00:20:16 +0200
committerBrian Behlendorf <[email protected]>2022-05-10 10:17:26 -0700
commitea532b0e6ee61370ad552533016c48c858240671 (patch)
treeab80ccf56416b6610904b71ea0f7fd16d7495d64 /scripts/kmodtool
parent5fc332ae4b723a39cffca9386bc40a3a5398924e (diff)
Remove compat spl-x.y.z from the distribution
This was added in 93ce2b4ca5a40c41ac945cd3aaf4a4a22bb751e1 ("Update build system and packaging"), which merged the SPL and ZFS trees, and included in 0.8.0; "the next major release" was 2.0.0 Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13316
Diffstat (limited to 'scripts/kmodtool')
-rwxr-xr-xscripts/kmodtool9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/kmodtool b/scripts/kmodtool
index afbb6ab3b..f66341196 100755
--- a/scripts/kmodtool
+++ b/scripts/kmodtool
@@ -263,16 +263,10 @@ the ${kmodname}-devel-<kernel> objects for the newest kernel.
%defattr(644,root,root,755)
%{_usrsrc}/${kmodname}-%{version}
EOF
- if [ -n "${obsolete_name}" ]; then
- echo "%{_usrsrc}/${obsolete_name}-%{version}"
- fi
for kernel in ${1}; do
local kernel_uname_r=${kernel}
echo "%exclude %{_usrsrc}/${kmodname}-%{version}/${kernel_uname_r}"
- if [ -n "${obsolete_name}" ]; then
- echo "%exclude %{_usrsrc}/${obsolete_name}-%{version}/${kernel_uname_r}"
- fi
done
echo
@@ -328,9 +322,6 @@ kernel ${kernel_uname_r} for the %{_target_cpu} family of processors.
%defattr(644,root,root,755)
%{_usrsrc}/${kmodname}-%{version}/${kernel_uname_r}
EOF
- if [ -n "${obsolete_name}" ]; then
- echo "%{_usrsrc}/${obsolete_name}-%{version}/${kernel_uname_r}"
- fi
}
print_rpmtemplate_kmodmetapkg ()