2
0

Accepting request 900613 from home:mwilck:suse-module-tools

- Update to version 16.0.4:
  * re-add legacy subpackage with "weak-modules", and add a
    "Supplements" dependency on dkms, which needs it

OBS-URL: https://build.opensuse.org/request/show/900613
OBS-URL: https://build.opensuse.org/package/show/Base:System/suse-module-tools?expand=0&rev=115
This commit is contained in:
Martin Wilck 2021-06-17 15:36:00 +00:00 committed by Git OBS Bridge
parent 8ec0944038
commit eb3d0eeb45
6 changed files with 33 additions and 9 deletions

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/suse-module-tools.git</param>
<param name="changesrevision">23c00579a78af3f1c28014b1f70c8114fc98033f</param></service></servicedata>
<param name="changesrevision">fe422e7058c691493567eeffc162f278b2120549</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:faf1ceabd7a29709e6ab34e145d02434e3a956e35f502c4d7c911374e500de5f
size 83979

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4186329fde129bd7de4ad88612e7eb4c62a8f8b18486f6058b46448b59222dc
size 93707

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jun 17 14:43:13 UTC 2021 - mwilck@suse.com
- Update to version 16.0.4:
* re-add legacy subpackage with "weak-modules", and add a
"Supplements" dependency on dkms, which needs it
-------------------------------------------------------------------
Thu Jun 17 13:10:42 UTC 2021 - mwilck@suse.com

View File

@ -1,5 +1,5 @@
name: suse-module-tools
version: 16.0.3
mtime: 1623935346
commit: 23c00579a78af3f1c28014b1f70c8114fc98033f
version: 16.0.4
mtime: 1623940916
commit: fe422e7058c691493567eeffc162f278b2120549

View File

@ -28,7 +28,7 @@
%endif
Name: suse-module-tools
Version: 16.0.3
Version: 16.0.4
Release: 0
Summary: Configuration for module loading and SUSE-specific utilities for KMPs
License: GPL-2.0-or-later
@ -60,6 +60,18 @@ modprobe. These utilities are provided by kmod-compat or
module-init-tools, whichever implementation you choose to install.
%package legacy
Summary: Legacy "weak-modules" script for Code10
Group: System/Base
Requires: %{name}
Requires: binutils
Supplements: dkms
%description legacy
This package contains the legacy "weak-modules" script for kernel
module package (KMP) support. It was replaced by "weak-modules2" in
SLE 11 and later. It is still used by the DKMS module packaging framework.
%prep
%setup -q
@ -93,7 +105,7 @@ install -pm 644 "depmod-00-system.conf" \
# "/usr/lib/module-init-tools" name hardcoded in KMPs, mkinitrd, etc.
install -d -m 755 "%{buildroot}/usr/lib/module-init-tools"
install -pm 755 weak-modules2 "%{buildroot}/usr/lib/module-init-tools/"
install -pm 755 weak-modules{,2} "%{buildroot}/usr/lib/module-init-tools/"
install -pm 755 driver-check.sh "%{buildroot}/usr/lib/module-init-tools/"
%if 0%{?suse_version} < 1550
@ -256,6 +268,7 @@ done
%endif
%{_bindir}/kmp-install
/usr/lib/module-init-tools
%exclude /usr/lib/module-init-tools/weak-modules
%{_unitdir}/systemd-sysctl.service.d
%dir %{modules_load_dir}
%{modules_load_dir}/sg.conf
@ -263,4 +276,8 @@ done
/usr/lib/systemd/system-generators
%endif
%files legacy
%defattr(-,root,root)
/usr/lib/module-init-tools/weak-modules
%changelog