Skip to content

Adjust the regex to handle %foo and %foo(anything) directives.

Directives that are legal inside the %files section of an RPM spec may contain a variety of characters particularly when specifying %caps which can include +, _, and space. Watch for parenthesis to determine what forms the prefix vs. path.

Fixes issue #14362 (closed)

Merge request reports