Basically I think that all building environments should define something like __BTE macro, so that one can disable some test that fail in restricted environments and so on.
Could you suggest exact name for this macro, please?
I'm about to add %__hasher 1 to .rpmmacros file generated by hasher.
%__BTE %(rpm -q hasher)
Ok, agreed, hasher will add %__BTE hasher to generated .rpmmacros file. Maybe sandman should add %__BTE sandman as well.
seems some package tests should be ifdef'd explicitly with enable/disable/with/without RPM functionality and build environment(s) should be smart enough to pass proper --disable/--without list to the rpmbuild phase. BTW sandman does :)
Since hasher is quite low level build tool , it should not decide whether to add --enabled/--disable args or not.