Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2019-02-18 05:16:36 +0100
committerMichal Kubecek <mkubecek@suse.cz>2019-02-18 05:16:36 +0100
commita4ff6e511ae9900e5a0a4565a3e383441e8cd980 (patch)
treea05595eb93fbe0795edb47a8a26aef9687ba6b9b
parenteb4b248d26ca1f392066418881a260b5ec461114 (diff)
parent751908095c7556831da3722634d685577f486c46 (diff)
Merge branch 'packaging'
-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 43ef2c930e..ab36796bb1 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)