Overview
you can change ./configure to %configure or that doesn't work?
Unfortunately it doesn't, their configure script is a custom one and doesn't accept the options that %configure passes to it. It chokes for example on --program-prefix=
and many others.
OK, no problem. I've noticed one more thing. Could you change the use of %global with_tests to using %bcond_with and %bcond_without instead? This would allow these tests to be configured at build time instead of hardcoded.
%if 0%{?suse_version} <= 1315 %bcond_with dtach %else %bcond_without dtach %endif
Then have
%if %{with tests} .... %endif
@-miska-, @WernerFink, @adamm, @darix, @dirkmueller, @eeich, @elvigia, @ganglia, @hreinecke, @jengelh, @jmcdough, @jreuter, @lrupp, @matz2, @mseben, @msmeissn, @msuman, @mtomaschewski, @pbleser, @peternixon, @poeml, @prusnak, @psmt, @rguenther, @sbrabec, @seife, @tiwai, @wgottwalt: review reminder