[cmake-developers] (Re-)Added RPM Suggested Dependency Support
Domen Vrankar
domen.vrankar at gmail.com
Fri Nov 4 04:34:46 EDT 2016
>
> after searching how to use the documented
> CPACK_RPM_<component>_PACKAGE_SUGGESTS feature, I stumbled across the
> following ticket: https://gitlab.kitware.com/cmake/cmake/issues/13423
>
> After reading through the discussion, I tried to fix the remaining issues
> and
> came up with the attached patch (against master). I also added the patched
> CPackRPM.cmake for security.
>
At first glance I like the solution. I'll take a more detailed look at it
in the afternoon.
Would you be willing to also write a test for the SUGGESTS tag?
The tests are located in Tests/RunCMake/CPack, you add the test to
RunCMakeTest.cmake and for an example of a test similar to what you'd need
to write you can search the CPack directory for all files containing
PER_COMPONENT_FIELDS in their name.
Thanks,
Domen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20161104/f6a1302f/attachment.html>
More information about the cmake-developers
mailing list