amit.sutar@ibm.com has uploaded this change for review.
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 change 1261479. To unsubscribe, or for help writing mail filters, visit settings.