rebased on fedora:20