Make sure you copy the rpm to a temp area to extract the files.

# rpm2cpio somerpm | cpio -idmv