ddiskit/0002-kernel-version-re-fix.patch
Eugene Syromiatnikov a837cc5fc4 Update to the latest version
* .gitignore: Remove old records, add
/ddiskit-d857c7726fd55e613bbd7af6c842ddfc80a9fdc8.tar.bz2
* 0001-kabi-stablelists.patch: Remove, present upstream in commit
15ec1277e249 "templates/spec: use "stablelist" on RHEL 9+".
* 0002-kernel-version-re-fix.patch: Refresh the patch.
* ddiskit.spec (%forgeurl): Change the URL
to https://gitlab.com/redhat/centos-stream/src/dup/ddiskit.
(%commit): Change to d857c7726fd55e613bbd7af6c842ddfc80a9fdc8.
(%forgesource, %topdir): New variables, added explicitly due to
inability of the version of forge.lua present in RHEL 9.6 to handle
nested gitlab project URLs.
(Release): Bump top 17.
(Patch0001): Remove.
(%prep): Remove %patch0001.
(%check): Remove, there are no tests present as of right now.
(%changelog): Add a record.

Resolves: RHEL-77191
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2025-02-06 19:05:37 +01:00

15 lines
638 B
Diff

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<rpm_dist>\.el([6-9]|[1-9][0-9])(_(0|[1-9][0-9]*))?)
+kernel_flex_version_re = {kernel_nvr_re}(?P<rpm_release_aux>(\.[0-9]{1,3})*){kernel_dist_re}
+
## Path to the spec file
spec_path = rpm/SPECS/{spec_file.rpm_name}.spec