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

View Change

spec: Allow bundling libntirpc into main package with --with embedded_ntirpc

- Add %bcond_with embedded_ntirpc (disabled by default so upstream still builds separate libntirpc RPMs).
- When --with embedded_ntirpc is passed, include libntirpc libraries, headers, and pkg-config files inside
the main nfs-ganesha RPM instead of creating separate libntirpc and libntirpc-devel packages.
- Replace the external libntirpc package dependency with libtirpc when bundled.
- Fail early if both --with system_ntirpc and --with embedded_ntirpc are passed together.

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

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

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

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