Added dependency on RPM spec file + bugfixes