forked from pool/python-pefile
fbfd479585
Resubmit of v1.2.10+139 upgrade. Maintains SLE11 support. OBS-URL: https://build.opensuse.org/request/show/323216 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pefile?expand=0&rev=4
19 lines
698 B
Diff
19 lines
698 B
Diff
# 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'
|
|
|
|
|