def scan_for_spec(keyword):
    keyword = keyword.lstrip('(').rstrip(')')
    matches = release_line_re.findall(keyword)
    if matches:
        return Spec(">={}".format(matches[0]))
    try:
        return Spec(keyword)
    except ValueError:
        return None