Open hroncok opened 6 years ago
The culprit is probably this line: https://github.com/sclorg/rpm-list-builder/blob/7af5e1fa20938ea5cdca592d1a9d137f287fe6f0/rpmlb/builder/base.py#L21
This part of regex matches any non-whitespace character as macro name, which is wrong -- we should at least add the character \
here.
But since the macro in question should not be touched at all, the first fix should probably be in the replace_macros
method -- adjust just the macros in replaced_macros
dictionary, leave others as they were.
So basically we should do both.
https://src.fedoraproject.org/rpms/python-pyquery @ 53427c