Skip to content

CPackRPM: add scriplets tags only if scripts exist

Scriplet tags should not be added to generated spec files if scripts weren't provided as those tags are otherwise present in generated rpm file even if the script wasn't provided thereby generating unneeded dependency on shell.

Fixes: #21345 (closed)

Merge request reports