# upstream depends on $LastChangedRevision$ being set. # This is apparently done by SVN on checkout, but it is not appropriate for # openSUSE packaging. This patch forces it to the correct revision, but # will need mahual editing with every update. Index: pefile-pefile-1.2.10-139/pefile.py =================================================================== --- pefile-pefile-1.2.10-139.orig/pefile.py +++ pefile-pefile-1.2.10-139/pefile.py @@ -22,7 +22,7 @@ the root of the distribution archive. __revision__ = "$LastChangedRevision$" __author__ = 'Ero Carrera' -__version__ = '1.2.10-%d' % int( __revision__[21:-2] ) +__version__ = '1.2.10-139' __contact__ = 'ero.carrera@gmail.com'