On 12/07/2017 09:26 AM, Tom Hughes wrote:
On 07/12/17 14:21, Marwan Rabbâa wrote:
Interesting.Â
Un fact I'm trying tout parse this lines.
An since spaces could be used for version separation and package
separation it seems off tout parse
Not really, you just need a proper parser ;-)
No, actually RPM spec files need a proper grammar.
Let's be honest, RPM spec file syntax is nothing other than a big bag of
of inconsistent hacks :-( After having been down this road a few times
I've come to the conclusion the only parser that works is the one
embedded into RPM and only the RPM parser knows what the syntax is. Ever
wonder why the grammar is not published? I suspect because it's
impossible to define it because of all the inconsistencies. (Sorry, this
is one of my pet peeves).
--
John
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx