Home Home > GIT Browse > SLE15-SP1
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2019-03-22 16:51:53 +0100
committerMichal Suchanek <msuchanek@suse.de>2019-03-22 16:51:53 +0100
commit8186a96e7ec4c5631324a25c3696e0cfd4b82e24 (patch)
treec8b3e29d5653f9c94daeebdd03e3c3ac93867be8
parent33a4d9c08c5e0b2a69e4a73cf4bf4b8ca82cb7f0 (diff)
parentd6c71ceaa0b8137666b70134bfd20f757b351e2d (diff)
Merge branch 'packaging' into SLE15-SP1SLE15-SP1
-rw-r--r--rpm/kernel-subpackage-spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/kernel-subpackage-spec b/rpm/kernel-subpackage-spec
index 11ce29c2f2..f8b30937cc 100644
--- a/rpm/kernel-subpackage-spec
+++ b/rpm/kernel-subpackage-spec
@@ -34,7 +34,7 @@ Requires(post): %kernel_requires_post
Requires(postun):%kernel_requires_postun
%endif
%endif
-Provides: %(rpm -q --queryformat '[%%{PROVIDENEVRS}\n]' %kernel_package_name | grep -vE '^ksym|^kmod' | tr '\n' ' ')
+Provides: %(rpm -q --queryformat '[%%{PROVIDENEVRS}\n]' %kernel_package_name | sed -e 's/%kernel_package_name-srchash/%name-srchash/g' | grep -vE '^ksym|^kmod' | tr '\n' ' ')
Conflicts: %(rpm -q --queryformat '[%%{CONFLICTNEVRS}\n]' %kernel_package_name | grep -vE '^ksym|^kmod' | tr '\n' ' ')
Obsoletes: %(rpm -q --queryformat '[%%{OBSOLETENEVRS}\n]' %kernel_package_name | grep -vE '^ksym|^kmod' | tr '\n' ' ')
Recommends: %(rpm -q --queryformat '[%%{RECOMMENDNEVRS}\n]' %kernel_package_name | grep -vE '^ksym|^kmod' | tr '\n' ' ')