Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse Patch and Source lines more accurately #942

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

dirkmueller
Copy link
Member

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.

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

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

are now parsed as well.
@mlschroe mlschroe merged commit 978b67a into openSUSE:master Jul 14, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants