https://bugzilla.novell.com/show_bug.cgi?id=305065#c13
--- Comment #13 from Aaron Bockover
Of course it is buggy! Only rpm can parse rpm specfiles, think of macro expansion, expression evaluation and all the other ugly stuff. I'm actually pretty impressed that it works that good.
It would not be that hard to write a parser for it - then the scanner would just evaluate nodes in the parse tree. spec is fairly simple - it's just hideous. I think I may do this soon anyway.
Btw, I stumpled over the line #%define build_avahi 1 in your specfile. This doesn't work, you can't comment out define statements like this as the defines are processed in the macro expansion step and it takes place before rpm checks if a line is commented out. Just FYI.
I'm not so sure - commenting that line out did exactly as I wanted it to (not attempt to build the avahi package later on in the spec file) - this is how I was able to finish the rest of the packaging (docs, etc.) without having to worry about the providers (avahi, mdnsr). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.