Re: [PATCH v2] kbuild: (bin)rpm-pkg: fix version number handling

2017-09-14 Thread Masahiro Yamada
Hi Riku. 2017-09-14 22:10 GMT+09:00 Riku Voipio : > On 14 September 2017 at 14:26, Masahiro Yamada > wrote: >> The "Release:" field of the spec file is determined based on the >> .version file. >> >> However, the .version file is not copied to the source tar file. >> So, when we build the kernel

Re: [PATCH v2] kbuild: (bin)rpm-pkg: fix version number handling

2017-09-14 Thread Riku Voipio
On 14 September 2017 at 14:26, Masahiro Yamada wrote: > The "Release:" field of the spec file is determined based on the > .version file. > > However, the .version file is not copied to the source tar file. > So, when we build the kernel from the source package, the UTS_VERSION > always indicates

[PATCH v2] kbuild: (bin)rpm-pkg: fix version number handling

2017-09-14 Thread Masahiro Yamada
The "Release:" field of the spec file is determined based on the .version file. However, the .version file is not copied to the source tar file. So, when we build the kernel from the source package, the UTS_VERSION always indicates #1. This does not match with "rpm -q". The kernel UTS_VERSION an