[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r851 ./packages/openofficeorg/2.3/experimental: add comment to automatic milestone handling code to prevent errors like it happened with 2.3.0~src680mXXX



------------------------------------------------------------
revno: 851
committer: Rene Engelhard <rene@debian.org>
branch nick: debian
timestamp: Wed 2007-08-15 12:39:24 +0200
message:
  add comment to automatic milestone handling code to prevent errors like it happened with 2.3.0~src680mXXX
modified:
  rules
=== modified file 'rules'
--- a/rules	2007-08-15 10:18:10 +0000
+++ b/rules	2007-08-15 10:39:24 +0000
@@ -53,8 +53,11 @@
 
 SRCNUM=680
 MWS=OOG680
-#MILESTONE:=$(shell echo "$(UPSTREAM_VERSION)" | cut -d~ -f2 | sed -e s/$(shell echo $(MWS) | tr A-Z a-z)//)
-MILESTONE=m1
+# note that this only makes sense for ~oo?680s. as o < r (as rcX). src680 would break the ordering (s > r).
+MILESTONE:=$(shell echo "$(UPSTREAM_VERSION)" | cut -d~ -f2 | sed -e s/$(shell echo $(MWS) | tr A-Z a-z)//)
+# For SRC680 milestones, use only ~mX
+#MILESTONE:=$(shell echo "$(UPSTREAM_VERSION)" | cut -d~ -f2)//)
+#MILESTONE=m1
 TAG=$(shell echo $(MWS) | tr A-Z a-z)-$(MILESTONE)
 #TAG=$(MWS)_$(MILESTONE)
 #OOO_BUILD_BRANCH=ooo-build-2-3


Reply to: