1621936e32
What we want for libdrm-amdgpu is for it to be a recommended package. Either libdrm or libdrm-amdgpu can be used, but we recommend the latter. Using "SUGGESTS" does not seem like a strong enough requirement, but CPACK does not support RPM recommends. Although, it does allow customizing the RPM SPEC file template. By generating a template, which is done by setting: -DCPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE=1 This template file can be trivially modified to allow adding a line to implement CPACK_RPM_PACKAGE_RECOMMENDS. Fixes Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com> Change-Id: I34467b1ba878827ced9b8db74977967815732552