Home Home > GIT Browse > linux-next
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2019-06-20 13:07:36 +0200
committerMichal Suchanek <msuchanek@suse.de>2019-06-20 13:07:36 +0200
commitaceae503441179008c0e9b8d274f8ddbbf53fda3 (patch)
tree31e51860a453950751ba276dfb56ff5b9d7ffa2c
parent5def2a260da9a4cfa1714811c4c19e691879e395 (diff)
kernel-binary: rpm does not support multiline condition
-rw-r--r--rpm/kernel-binary.spec.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/rpm/kernel-binary.spec.in b/rpm/kernel-binary.spec.in
index 1967ac9561..f4d39e0b73 100644
--- a/rpm/kernel-binary.spec.in
+++ b/rpm/kernel-binary.spec.in
@@ -37,8 +37,7 @@
%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) || \
- %(echo %_project | grep -Ec "^(Devel:)?Kernel:") )
+%if 0%{?_project:1} && ( %(echo %_project | egrep -x -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") )
%define klp_symbols 1
%endif