Home Home > GIT Browse > packaging
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2019-03-04 17:35:40 +0100
committerMichal Suchanek <msuchanek@suse.de>2019-03-06 17:46:33 +0100
commit821419f311f3edd58124e551664a2362b62671d6 (patch)
tree2d5bc0df33ddbc30cda8aded33befb2dd00b3f37
parentadade9f19001c632172fcaaca0fa8eab35eb1304 (diff)
KMPs: obsolete older KMPs of the same flavour (bsc#1127155, bsc#1109137).
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
-rw-r--r--rpm/kernel-module-subpackage1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpm/kernel-module-subpackage b/rpm/kernel-module-subpackage
index e195f0f8d2..e8f864dfbc 100644
--- a/rpm/kernel-module-subpackage
+++ b/rpm/kernel-module-subpackage
@@ -27,6 +27,7 @@ Requires: coreutils grep
%{-c:Requires: %{-n*}-ueficert}
Enhances: kernel-%1
Supplements: packageand(kernel-%1:%{-n*})
+Obsoletes: %{-n*}-kmp-%1 < %_this_kmp_version-%release
%if "%1" == "default"
Obsoletes: %{-n*}-kmp-trace
%ifarch %ix86