add sample rpm sources (rpm spec, readme and build script) for tests
some packaging bug fixes in the sample rpm spec for tests
sort out and organize test cases and complement missing test cases for myrepo.commands.build.run