Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2014-08-21 16:48:07 +0200
committerMichal Marek <mmarek@suse.cz>2014-08-21 16:48:51 +0200
commit8331f47b2dfe5e0e0b623114216d73db15e522d7 (patch)
treee3fd41c756b7e7da5caa94db09721bcce9508f6c
parente56149824579ea8ba189adf95d6064d53ac89ca5 (diff)
rpm/kernel-binary.spec.in: Fix the version variables in the generated
Makefile (bnc#892973)
-rw-r--r--rpm/kernel-binary.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/kernel-binary.spec.in b/rpm/kernel-binary.spec.in
index 39852f4952..e2878c96c5 100644
--- a/rpm/kernel-binary.spec.in
+++ b/rpm/kernel-binary.spec.in
@@ -686,7 +686,7 @@ if [ %CONFIG_MODULES = y ]; then
# Recreate the generated Makefile with correct path
sh ../scripts/mkmakefile ../../../linux-%kernelrelease%variant \
%rpm_install_dir/%cpu_arch_flavor \
- $(echo %srcversion | sed -r 's/^([0-9]+)\.([0-9]+)[\.-].*/\1 \2/')
+ $(echo %srcversion | sed -r 's/^([0-9]+)\.([0-9]+).*/\1 \2/')
fi
add_dirs_to_filelist() {