spec: fix version handling of 3.x kernels (in contrary to 3.x.y)
This commit is contained in:
parent
ef0bef2c30
commit
770e621fae
@ -13,7 +13,7 @@
|
||||
%global cpu_arch x86_64
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
|
||||
%define kernelrelease %version-%rel.%cpu_arch
|
||||
%define kernelrelease %(echo %{version} | sed 's/3\\.[0-9]\\+$/\\0.0/')-%rel.%cpu_arch
|
||||
%define my_builddir %_builddir/%{name}-%{version}
|
||||
|
||||
%define build_src_dir %my_builddir/linux-%version
|
||||
|
Loading…
Reference in New Issue
Block a user