[Pkg-ocaml-maint-commits] r5166 - /trunk/tools/gen-binNMU-request/gen-binNMU-request.py
glondu-guest at users.alioth.debian.org
glondu-guest at users.alioth.debian.org
Mon Feb 11 08:20:17 UTC 2008
Author: glondu-guest
Date: Mon Feb 11 08:20:17 2008
New Revision: 5166
URL: http://svn.debian.org/wsvn/?sc=1&rev=5166
Log:
Small fix: that version must be the source version.
Modified:
trunk/tools/gen-binNMU-request/gen-binNMU-request.py
Modified: trunk/tools/gen-binNMU-request/gen-binNMU-request.py
URL: http://svn.debian.org/wsvn/trunk/tools/gen-binNMU-request/gen-binNMU-request.py?rev=5166&op=diff
==============================================================================
--- trunk/tools/gen-binNMU-request/gen-binNMU-request.py (original)
+++ trunk/tools/gen-binNMU-request/gen-binNMU-request.py Mon Feb 11 08:20:17 2008
@@ -36,13 +36,13 @@
l = madep.split(y.strip())
version = l[1]
next = next_binNMU(version)
- if version_compare(version, source_version) > 0:
- source_version = version
if next > numNMU:
numNMU = next
for arch in l[3:]:
if arch not in archs and arch not in excluded_archs:
archs.append(arch)
+ if arch == "source" and version_compare(version, source_version) > 0:
+ source_version = version
if numNMU:
return source_version, numNMU, archs
else:
More information about the Pkg-ocaml-maint-commits
mailing list