Home Home > GIT Browse > packaging
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2019-06-13 13:55:57 +0200
committerMichal Suchanek <msuchanek@suse.de>2019-06-13 13:57:01 +0200
commitffd0ed9c5aed4a397c0fccf9b93e671401b1be6b (patch)
tree580341ed9fcc6011e049cd05ae31716bb8241cc1
parentbac621c6704610562ebd9e74ae5ad85ca8025681 (diff)
Build klp-symbols in kernel devel projects.packaging
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
-rw-r--r--rpm/kernel-binary.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpm/kernel-binary.spec.in b/rpm/kernel-binary.spec.in
index 9387f4aed4..2da126e1ae 100644
--- a/rpm/kernel-binary.spec.in
+++ b/rpm/kernel-binary.spec.in
@@ -37,7 +37,8 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
-%if 0%{?_project:1} && %(echo %_project | egrep -x -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE)
+%if 0%{?_project:1} && ( %(echo %_project | egrep -x -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) ||
+ %(echo %_project | grep -E "^(Devel:)?Kernel:") )
%define klp_symbols 1
%endif