2
0

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

- Update to version 16.0.24:
  * Split kernel scriptlets into separate sub-package 
    "suse-module-tools-scriptlets" on Tumbleweed
    (gh#openSUSE/suse-module-tools#64)

OBS-URL: https://build.opensuse.org/request/show/1005598
OBS-URL: https://build.opensuse.org/package/show/Base:System/suse-module-tools?expand=0&rev=145
This commit is contained in:
Martin Wilck 2022-09-23 10:44:31 +00:00 committed by Git OBS Bridge
parent 34d68ab934
commit b3edbe9ef5
6 changed files with 41 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">7b60f9764ada8f304a3c9695b2d35243827c7892</param></service></servicedata>
<param name="changesrevision">a6db28189a23cb3a5cf46b004f7618cd81b04078</param></service></servicedata>

View File

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

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Sep 23 10:40:07 UTC 2022 - Martin Wilck <mwilck@suse.com>
- Update to version 16.0.24:
* Split kernel scriptlets into separate sub-package
"suse-module-tools-scriptlets" on Tumbleweed
(gh#openSUSE/suse-module-tools#64)
-------------------------------------------------------------------
Mon Sep 12 15:28:13 UTC 2022 - Martin Wilck <mwilck@suse.com>

View File

@ -1,4 +1,4 @@
name: suse-module-tools
version: 16.0.23
mtime: 1662996437
commit: 7b60f9764ada8f304a3c9695b2d35243827c7892
version: 16.0.24
mtime: 1663929461
commit: a6db28189a23cb3a5cf46b004f7618cd81b04078

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.23
Version: 16.0.24
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)