[rpm] Don't use X11 code