Home Home > GIT Browse > linux-next
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKernel Build Daemon <kbuild@suse.de>2019-02-09 12:01:46 +0100
committerKernel Build Daemon <kbuild@suse.de>2019-02-09 12:01:46 +0100
commit538c9b2dd1d1e2bc91b676754cf192fdb9babe87 (patch)
tree71268f7c5503773ee9006b129ab9541a3650590c
parent67606cfe7e5ae6323a94816a8e046974b3180409 (diff)
parent751908095c7556831da3722634d685577f486c46 (diff)
Merge branch 'packaging' into linux-next
-rw-r--r--rpm/kernel-binary.spec.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpm/kernel-binary.spec.in b/rpm/kernel-binary.spec.in
index c078fb217c..bdf5440857 100644
--- a/rpm/kernel-binary.spec.in
+++ b/rpm/kernel-binary.spec.in
@@ -37,6 +37,10 @@
%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)
+ %define klp_symbols 1
+%endif
+
%(chmod +x %_sourcedir/{@SCRIPTS@})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)