Home Home > GIT Browse > linux-next
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKernel Build Daemon <kbuild@suse.de>2019-03-23 12:03:07 +0100
committerKernel Build Daemon <kbuild@suse.de>2019-03-23 12:03:07 +0100
commitf5219636b563c352d877ea1db8c71648f2e149db (patch)
tree50c95ca41b96210a6479ef2d3f47600150564396
parent1c2401354dbfdb58ff27d2dc62a675fbfb903951 (diff)
parentd6c71ceaa0b8137666b70134bfd20f757b351e2d (diff)
Merge branch 'packaging' into linux-next
-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' ' ')