* debian/rules:
authorMichael Vogt <michael.vogt@ubuntu.com>
Sat, 30 Sep 2006 12:16:55 +0000 (14:16 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Sat, 30 Sep 2006 12:16:55 +0000 (14:16 +0200)
  - Daniel Schepler to make apt bin-NMU able

debian/changelog
debian/rules

index a828d02..448f4f1 100644 (file)
@@ -2,7 +2,9 @@ apt (0.6.46.1) unstable; urgency=low
 
   * methods/gzip.cc:
     - deal with empty files 
-
+  * Applied patch from Daniel Schepler to make apt bin-NMU able.  
+    (Closes: bug#359634)
+  
  --
 
 apt (0.6.46) unstable; urgency=low
index a8bf887..02ee734 100755 (executable)
@@ -38,7 +38,7 @@ build:
 
 PKG=apt
 DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS)
-APT_DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
+APT_DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p' -e 's/\+.*$$//')
 APT_CONFVER=$(shell sed -n -e 's/^AC_DEFINE_UNQUOTED(VERSION,"\(.*\)")/\1/p' configure.in)
 APT_CVSTAG=$(shell echo "$(APT_DEBVER)" | sed -e 's/^/v/' -e 's/\./_/g')