added debugging and RPM building