tizen: Export kernel-devel's package version as %kernel_devel_uname_r 82/14982/2
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 14 Jan 2014 10:10:15 +0000 (11:10 +0100)
committerPatrick McCarty <patrick.mccarty@linux.intel.com>
Wed, 29 Jan 2014 19:04:41 +0000 (11:04 -0800)
commitf5081b28715feae781b50a4421e5f50c67570f88
tree405865ca0b6cc798f49c30ce62f066b790d8fad9
parentb70c8566e820f220eb934fbb4de4c9bd87a80aa0
tizen: Export kernel-devel's package version as %kernel_devel_uname_r

This macro provides full version string of available kernel headers
as provided by kernel-devel package.

This functionality should simplify process of packaging additional
external kernel modules eliminating the step of manual searching
for appropriate kernel build directory, eg.

  BuildRequires: kernel-devel

  %build
  make M=/lib/modules/%{kernel_devel_uname_r}/build modules

Change-Id: Iea73e418065068f8451c42a2a3a4b46a9b5ffaac
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
packaging/rpm-tizen_macros