- 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
This commit is contained in:
Jan Engelhardt 2020-07-07 13:07:56 +00:00 committed by Git OBS Bridge
parent ec5463650d
commit b9baf3c471
3 changed files with 12 additions and 9 deletions

View File

@ -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

View File

@ -1,7 +1,18 @@
-------------------------------------------------------------------
Tue Jul 7 13:05:53 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Drop old RPM constructs from the build recipe.
-------------------------------------------------------------------
Fri Jul 3 11:36:22 UTC 2020 - Michal Suchanek <msuchanek@suse.com>
- 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 <jengelh@inai.de>

View File

@ -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