2011/8/18 James Antill <james@xxxxxxxxxxxxxxxxx>: >> Sure. It's just that rpmbuild will be called from people's makefile, >> where they are supposed to run it by doing rpmbuild ... --define >> '__foo 1' if they want some special functionality to be enabled, and >> define it to 0 if not. Despite having been told this, I'm 100% sure >> that what will happen is that some people will define it correctly, >> some will do --define '__foo 0', some will not bother defining it (or >> will plain forget), possibly others will do yet other variations >> (typos, --define '__foo TRUE' or whatever), > > If you just have a boolean, why not use: > > http://rpm.org/wiki/PackagerDocs/ConditionalBuilds Cool, that too looks like a viable alternative (probably for the next time though). Thanks! _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list