pkg: fedora: Let kernel-surface conflict with older versions of the package
This commit is contained in:
parent
9a550fda70
commit
e4d4ccb5c9
29
pkg/fedora/kernel-surface/patches/0003-obsoletes.patch
Normal file
29
pkg/fedora/kernel-surface/patches/0003-obsoletes.patch
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
From 084f48d80c730162805d654325934843cd12db94 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Dorian Stoll <dorian.stoll@tmsp.io>
|
||||||
|
Date: Sun, 14 May 2023 18:16:38 +0200
|
||||||
|
Subject: [PATCH] Let kernel-surface conflict with older versions of the
|
||||||
|
package
|
||||||
|
|
||||||
|
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
|
||||||
|
---
|
||||||
|
redhat/kernel.spec.template | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
|
||||||
|
index 2d91719b7d93..9ad0c720d467 100644
|
||||||
|
--- a/redhat/kernel.spec.template
|
||||||
|
+++ b/redhat/kernel.spec.template
|
||||||
|
@@ -599,6 +599,10 @@ Requires: kernel-modules-uname-r = %{KVERREL}
|
||||||
|
Requires: kernel-modules-core-uname-r = %{KVERREL}
|
||||||
|
Provides: installonlypkg(kernel)
|
||||||
|
Provides: kernel = %{KVERREL}
|
||||||
|
+
|
||||||
|
+Conflicts: kernel-surface < 6.3.6-1
|
||||||
|
+Obsoletes: kernel-surface < 6.3.6-1
|
||||||
|
+
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
2.40.1
|
||||||
|
|
Loading…
Reference in a new issue