Whamcloud - gitweb
LU-12899 build: rhel8 not install kernel-rpm-macros 39/37039/2
authorQian Yingjin <qian@ddn.com>
Wed, 23 Oct 2019 01:43:24 +0000 (09:43 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 20 Dec 2019 06:44:47 +0000 (06:44 +0000)
commit91aa340146fb450979422f9faf931e51fa2f0322
tree585cdab252e2e70a792778378d2ffed59ab8119e
parent589ba9b62c0e8b3a93145dd44bbbd92a26d6da8b
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.

Lustre-change: https://review.whamcloud.com/36557
Lustre-commit: 037840fb6b86d6083d55f3da5ad70d19d34cc5a5

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