Whamcloud - gitweb
LU-12899 build: rhel8 not install kernel-rpm-macros 57/36557/3 master
authorQian Yingjin <qian@ddn.com>
Wed, 23 Oct 2019 01:43:24 +0000 (09:43 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 14 Dec 2019 19:23:57 +0000 (19:23 +0000)
commit037840fb6b86d6083d55f3da5ad70d19d34cc5a5
tree46469008b6c0f56ce62fdc9c46cab64da3ef4469
parent782b3533edb419374b7357b67ba4f9960d7e96cf
LU-12899 build: rhel8 not install kernel-rpm-macros

On RHEL8 kmodtool and kernel_module_package_buildreqs are not
installed with kernel-devel.

kernel_module_package_buildreqs is defined in kernel-rpm-marcos.
If kernel-rpm-macros is not installed, the Lustre RPM build will
report:
"Dependency tokens must begin with alpha-numeric, '_' or '/':
BuildRequires: %kernel_module_package_buildreqs"

This patch helps the developer understanding the detailed
information for the required packages when kernel-rpm-macros is
not installed.

Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Id9b855eeac97d780d9c572d306da3c3a1fa95ea6
Reviewed-on: https://review.whamcloud.com/36557
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre.spec.in