diff -Nru libcitygml-0.14+svn128/debian/changelog libcitygml-0.14+svn128/debian/changelog --- libcitygml-0.14+svn128/debian/changelog 2013-02-01 16:23:03.000000000 +0000 +++ libcitygml-0.14+svn128/debian/changelog 2013-09-27 17:13:01.000000000 +0000 @@ -1,3 +1,10 @@ +libcitygml (0.14+svn128-1+3p0p1+4+rpi1) jessie-staging; urgency=low + + * Make code in debian/gencontrol handle releasecandidate version of + openscenegraph correctly. (Closes: #719396) + + -- Peter Michael Green Fri, 27 Sep 2013 17:11:40 +0000 + libcitygml (0.14+svn128-1+3p0p1+4) unstable; urgency=low [Sebastian Ramacher] diff -Nru libcitygml-0.14+svn128/debian/gencontrol libcitygml-0.14+svn128/debian/gencontrol --- libcitygml-0.14+svn128/debian/gencontrol 2012-06-12 17:21:06.000000000 +0000 +++ libcitygml-0.14+svn128/debian/gencontrol 2013-09-27 17:11:17.000000000 +0000 @@ -3,7 +3,8 @@ TMP1=`echo $LIBOSG_VERSION|awk -F '.' '{print $1}'` TMP2=`echo $LIBOSG_VERSION|awk -F '.' '{print $2}'` TMP3=`echo $LIBOSG_VERSION|awk -F '.' '{print $3}'` +TMP3=`echo $TMP3|awk -F '~' '{print $1}'` TMP3=$((TMP3+1)) -LIBOSG_VERSIONPLUS=$TMP1.$TMP2.$TMP3 +LIBOSG_VERSIONPLUS=$TMP1.$TMP2.$TMP3~ echo $LIBOSG_VERSION dh_gencontrol -- -Vlibosg-share="$LIBOSG_SHARE" -Vlibosg-static="libopenscenegraph-dev (>=$LIBOSG_VERSION), libopenscenegraph-dev (<< $LIBOSG_VERSIONPLUS)"