2
0

Accepting request 1038933 from Base:System

- Update to version 16.0.28:
  * Split kernel scriptlets into separate sub-package, again
    (boo#1202353, boo#1205149) (forwarded request 1038931 from mwilck)

OBS-URL: https://build.opensuse.org/request/show/1038933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-module-tools?expand=0&rev=61
This commit is contained in:
Dominique Leuenberger 2022-12-01 15:58:37 +00:00 committed by Git OBS Bridge
commit 914aecb923
6 changed files with 40 additions and 10 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">7129a76eb94202c1f9882ff28e1c3edbadfd763d</param></service></servicedata>
<param name="changesrevision">86a9766d5e40d9b904972b4da2233f955477fa12</param></service></servicedata>

View File

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

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Nov 29 16:13:08 UTC 2022 - Martin Wilck <mwilck@suse.com>
- Update to version 16.0.28:
* Split kernel scriptlets into separate sub-package, again
(boo#1202353, boo#1205149)
-------------------------------------------------------------------
Mon Nov 21 15:52:55 UTC 2022 - Martin Wilck <mwilck@suse.com>

View File

@ -1,4 +1,4 @@
name: suse-module-tools
version: 16.0.27
mtime: 1669045905
commit: 7129a76eb94202c1f9882ff28e1c3edbadfd763d
version: 16.0.28
mtime: 1669738319
commit: 86a9766d5e40d9b904972b4da2233f955477fa12

View File

@ -45,7 +45,7 @@
%global modprobe_conf_rpmsave %(echo "%{modprobe_conf_files}" | sed 's,\\([^ ]*\\),%{_sysconfdir}/modprobe.d/\\1.conf.rpmsave,g')
Name: suse-module-tools
Version: 16.0.27
Version: 16.0.28
Release: 0
Summary: Configuration for module loading and SUSE-specific utilities for KMPs
License: GPL-2.0-or-later
@ -64,7 +64,9 @@ Requires: rpm
Requires(post): /usr/bin/grep
Requires(post): /usr/bin/sed
Requires(post): coreutils
%if 0%{?suse_version} < 1550
Provides: suse-kernel-rpm-scriptlets = 0
%endif
Provides: udev-extra-rules = 0.3.0
Obsoletes: udev-extra-rules < 0.3.0
Provides: system-tuning-common-SUSE = 0.3.0
@ -99,6 +101,17 @@ 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.
%if 0%{?suse_version} >= 1550
%package scriptlets
Summary: Kernel rpm scriptlets
Provides: suse-kernel-rpm-scriptlets = 0
Requires: suse-module-tools = %{version}
Provides: suse-module-tools:/usr/lib/module-init-tools/kernel-scriptlets
%description scriptlets
Scripts called by the SUSE kernel packages on installation
%endif
%prep
%setup -q
@ -263,8 +276,12 @@ exit 0
%{_rpmmacrodir}/macros.initrd
%endif
%{_bindir}/kmp-install
/usr/lib/module-init-tools
%exclude /usr/lib/module-init-tools/weak-modules
%dir /usr/lib/module-init-tools
/usr/lib/module-init-tools/driver-check.sh
/usr/lib/module-init-tools/lsinitrd-quick
/usr/lib/module-init-tools/regenerate-initrd-posttrans
/usr/lib/module-init-tools/unblacklist
/usr/lib/module-init-tools/weak-modules2
%{_unitdir}/*.service
%{_unitdir}/systemd-sysctl.service.d
%{_modulesloaddir}
@ -272,6 +289,12 @@ exit 0
%ifarch ppc64 ppc64le
/usr/lib/systemd/system-generators
%endif
#
%if 0%{?suse_version} >= 1550
%files scriptlets
%endif
/usr/lib/module-init-tools/kernel-scriptlets
%files legacy
%defattr(-,root,root)