amit.sutar@ibm.com has uploaded this change for review.

View Change

spec: Allow disabling selinux package with --without selinux

- Add %bcond_without selinux so SELinux stays enabled by default for upstream builds.
- Skip building and packaging nfs-ganesha-selinux when --without selinux is passed.
- Remove the nfs-ganesha-selinux runtime requirement from the main package when disabled.

Change-Id: I3619408d90fb7b15944989dcb4ea04c40cd06139
Signed-off-by: Amit Sutar <amit.sutar@ibm.com>
---
M src/nfs-ganesha.spec-in.cmake
1 file changed, 6 insertions(+), 5 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/74/1261474/1

To view, visit change 1261474. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I3619408d90fb7b15944989dcb4ea04c40cd06139
Gerrit-Change-Number: 1261474
Gerrit-PatchSet: 1
Gerrit-Owner: amit.sutar@ibm.com