From b9baf3c47128bd804e8f10c55b3009d7f2014d7573b3cd8a07d574caeaa5d253 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 7 Jul 2020 13:07:56 +0000 Subject: [PATCH] - Drop old RPM constructs from the build recipe. - Add reasoning for prev change OBS-URL: https://build.opensuse.org/package/show/Base:System/kmod?expand=0&rev=166 --- kmod-testsuite.spec | 1 - kmod.changes | 13 ++++++++++++- kmod.spec | 7 ------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/kmod-testsuite.spec b/kmod-testsuite.spec index 126e541..e057680 100644 --- a/kmod-testsuite.spec +++ b/kmod-testsuite.spec @@ -35,7 +35,6 @@ Patch3: 0009-libkmod-Implement-filtering-of-unsupported-modules-o.patch Patch4: 0010-modprobe-Implement-allow-unsupported-modules.patch Patch5: 0011-Do-not-filter-unsupported-modules-when-running-a-van.patch Patch6: 0012-modprobe-print-unsupported-status.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: kernel-default-devel diff --git a/kmod.changes b/kmod.changes index 4d767a9..f5eeb4c 100644 --- a/kmod.changes +++ b/kmod.changes @@ -1,7 +1,18 @@ +------------------------------------------------------------------- +Tue Jul 7 13:05:53 UTC 2020 - Jan Engelhardt + +- Drop old RPM constructs from the build recipe. + ------------------------------------------------------------------- Fri Jul 3 11:36:22 UTC 2020 - Michal Suchanek -- Drop kmod-compat (boo#1173353). +- Drop kmod-compat (boo#1173353): + The symlinks in kmod-compat are not obsolete. They are + desirable for kernel module autoload. The "kernel.modprobe" + sysctl references /sbin/modprobe, and changing it to + "/usr/bin/kmod load" is not possible, because this sysctl + specifies a single executable, not a command (so spaces will be + treated as part of the filename). ------------------------------------------------------------------- Wed May 27 23:31:52 UTC 2020 - Jan Engelhardt diff --git a/kmod.spec b/kmod.spec index 984c4c6..75c60eb 100644 --- a/kmod.spec +++ b/kmod.spec @@ -35,7 +35,6 @@ Patch3: 0009-libkmod-Implement-filtering-of-unsupported-modules-o.patch Patch4: 0010-modprobe-Implement-allow-unsupported-modules.patch Patch5: 0011-Do-not-filter-unsupported-modules-when-running-a-van.patch Patch6: 0012-modprobe-print-unsupported-status.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: libopenssl-devel >= 1.1.0 @@ -135,7 +134,6 @@ done %postun -n %lname -p /sbin/ldconfig %files -%defattr(-,root,root) %_bindir/kmod %_bindir/lsmod %_sbindir/depmod @@ -145,7 +143,6 @@ done %_sbindir/modprobe %_sbindir/rmmod %_mandir/man[58]/*.[58]* -# The very very old paths (previously kmod-compat) /bin/lsmod /sbin/depmod /sbin/insmod @@ -153,18 +150,14 @@ done /sbin/modinfo /sbin/modprobe /sbin/rmmod -# End kmod-compat %files bash-completion -%defattr(-,root,root) %_datadir/bash-completion/ %files -n %lname -%defattr(-,root,root) %_libdir/libkmod.so.2* %files -n libkmod-devel -%defattr(-,root,root) %_includedir/* %_libdir/pkgconfig/libkmod.pc %_libdir/libkmod.so