How about simply having another package with AVX support disable/enabled in the spec file, i.e. john-avx or john-noavx? The latter is probably better as the majority of the users already running a AVX capable CPU I'd assume.