From: Jian Yu Date: Thu, 17 Nov 2022 20:48:04 +0000 (-0800) Subject: LU-16317 build: dkms build requires flex, bison and libmount-devel X-Git-Tag: 2.15.53~48 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=c74c630ff7596317d1b500fd385fca271b31708c;p=fs%2Flustre-release.git LU-16317 build: dkms build requires flex, bison and libmount-devel This patch fixes lustre.spec.in and lustre-dkms.spec.in to add requires for flex, bison, libmount and libmount-devel. The last two have already been added into lustre.spec.in. Test-Parameters: trivial Fixes: 121a79651f ("LU-15967 build: configure script does not check for required build tools") Fixes: f21b944127 ("LU-15940 build: add a required dependency for libmount") Change-Id: I9923fc7eb09f974e8c38c3664138486a424e16d7 Signed-off-by: Jian Yu Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49183 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Arshad Hussain Reviewed-by: Oleg Drokin --- diff --git a/lustre-dkms.spec.in b/lustre-dkms.spec.in index 755a3b5..242658f 100644 --- a/lustre-dkms.spec.in +++ b/lustre-dkms.spec.in @@ -61,6 +61,7 @@ BuildArch: noarch # (ie, "BUILD_DEPENDS[#]="), and have latest DKMS fixes integrated # for bugs that prevented our module to build/install. Requires: dkms >= 2.2.0.3-28.git.7c3e7c5 +Requires: flex bison libmount-devel libmount # for lnetctl Requires: libyaml-devel Requires: zlib-devel diff --git a/lustre.spec.in b/lustre.spec.in index 6753de3..f186299 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -194,7 +194,7 @@ Requires: %{requires_kmod_name} = %{requires_kmod_version} Requires: python3 >= 3.6.0 BuildRequires: python3-devel >= 3.6.0, swig %endif -BuildRequires: libtool libyaml-devel zlib-devel libnl3-devel +BuildRequires: libtool libyaml-devel zlib-devel libnl3-devel flex bison %if "%{_vendor}" == "redhat" BuildRequires: redhat-rpm-config BuildRequires: pkgconfig