Merge pull request #3 from mapleoin/master

don't update the .spec file if there are no new changes
fix pep8 issues
add travis-ci config