Add simple replacement with hardcoded y/n responses to allow compilation on systems without rpmatch(). Signed-off-by: Sami Kerola <kerolasa@iki.fi>