Code

fix bug with gettimeofday test, improve version/release handling, update rpm spec