openSUSE / obs-build

OBS build script, can be used with OBS or stand alone
GNU General Public License v2.0
132 stars 183 forks source link

Parse Patch and Source lines more accurately #942

Closed dirkmueller closed 1 year ago

dirkmueller commented 1 year ago

rpm(1) actually parses Patch and Source lines in a special way, it can skip over any non-whitespace until the next ':' as part of the patch suffix determination.

So things like

Source foo: https://host/domain/file.tar.gz

are possible and need to be parsed properly.