Skip to content

CPack/RPM: Quote paths in rpm spec only if they have whitespace

Ben Boeckel requested to merge ben.boeckel/cmake:rpm-quoting into master

RPM supports either whitespace with quoting or globbing without quoting. Prior to RPM 4.19 it accepted globbing in quotes, but it only globbed correctly without whitespace, where quoting was not necessary anyway. Starting in RPM 4.19, glob characters in quotes are considered literal.

Fixes: #25421 (closed)

Backport: release

Edited by Brad King

Merge request reports