rpm spec file macro help
Got a weird scenario I can't figure out.
If the macro foo is set to the string /usr then I want the macro bar set to 1.
If the macro foo is set to anything other than the string /usr then I want bar set to 0.
I'm having a hell of a time figuring out an expression that will actually do it.