amit.sutar@ibm.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1261479?usp=email ) Change subject: spec: Allow disabling vfs/proxy FSALs and overriding cmake_cmd ...................................................................... spec: Allow disabling vfs/proxy FSALs and overriding cmake_cmd Make the VFS, PROXY_V4 and PROXY_V3 FSAL subpackages optional and let callers override the CMake command used by the spec: - Add %bcond_without toggles for vfs, proxy_v4 and proxy_v3 so these subpackages can be excluded with --without flags. All remain enabled by default, so existing builds are unchanged. - Pass USE_FSAL_VFS, USE_FSAL_PROXY_V4 and USE_FSAL_PROXY_V3 to CMake from those toggles instead of hardcoding ON. - Install vfs.conf only when the vfs FSAL is built. - Guard %global cmake_cmd with %{!?cmake_cmd:...} so rpmbuild callers can supply their own CMake command. Change-Id: Ie62ddd7774848764f6da238ca1ab710da3810f52 Signed-off-by: Amit Sutar <amit.sutar@ibm.com> --- M src/nfs-ganesha.spec-in.cmake 1 file changed, 26 insertions(+), 4 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/79/1261479/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1261479?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Ie62ddd7774848764f6da238ca1ab710da3810f52 Gerrit-Change-Number: 1261479 Gerrit-PatchSet: 1 Gerrit-Owner: amit.sutar@ibm.com