From 1cfcac88b92fa781f7458b72bd76d28d574f8d07 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 15 2022 06:47:46 +0000 Subject: import ddiskit-3.6-16.20191129gitde1f684.el9 --- diff --git a/SOURCES/0002-kernel-version-re-fix.patch b/SOURCES/0002-kernel-version-re-fix.patch new file mode 100644 index 0000000..20425be --- /dev/null +++ b/SOURCES/0002-kernel-version-re-fix.patch @@ -0,0 +1,14 @@ +Index: ddiskit-de1f6847223085dcdd177e02a7298c835fae12a3/ddiskit.config +=================================================================== +--- ddiskit-de1f6847223085dcdd177e02a7298c835fae12a3.orig/ddiskit.config 2022-07-12 02:04:24.700230196 +0200 ++++ ddiskit-de1f6847223085dcdd177e02a7298c835fae12a3/ddiskit.config 2022-07-12 02:07:27.444095264 +0200 +@@ -4,6 +4,9 @@ + major = 7 + minor = 0 + ++kernel_dist_re = (?P\.el([6-9]|[1-9][0-9])(_(0|[1-9][0-9]*))?) ++kernel_flex_version_re = {kernel_nvr_re}(?P(\.[0-9]{1,3})*){kernel_dist_re} ++ + [rpm_gpg_check] + ## Some initial assumption about the keyring dir + keyring_dir = {defaults.res_dir}/keyrings/{defaults.profile} diff --git a/SPECS/ddiskit.spec b/SPECS/ddiskit.spec index f66cce4..69484cd 100644 --- a/SPECS/ddiskit.spec +++ b/SPECS/ddiskit.spec @@ -11,7 +11,7 @@ Version: 3.6 %forgemeta -Release: 15%{?dist} +Release: 16%{?dist} Summary: Tool for Red Hat Enterprise Linux Driver Update Disk creation License: GPLv3 @@ -19,6 +19,7 @@ URL: %{forgeurl} Source0: %{forgesource} Patch0001: 0001-kabi-stablelists.patch +Patch0002: 0002-kernel-version-re-fix.patch BuildArch: noarch BuildRequires: python3-devel @@ -39,6 +40,7 @@ kernel modules. %forgesetup %patch0001 -p1 +%patch0002 -p1 %build %py3_build @@ -72,6 +74,9 @@ find %{buildroot} -size 0 -delete %config(noreplace) /etc/ddiskit.config %changelog +* Mon Jul 11 2022 Eugene Syromiatnikov - 3.6-16 +- Update kernel version RE for RHEL 9 idiosyncrasies (#2101634). + * Mon Feb 14 2022 Eugene Syromiatnikov - 3.6-15 - Support kernel-abi-stablelists package usage in RHEL 9 (#1990207).