Adding e2fsprogs-devel to the BuildRequires for RHEL5.
Adding file lines required for systemd files on RHEL7.

Further work may be needed to make RHEL7 work correctly.