* Fix building to properly support binNMUs. Thanks to Daniel Schepler
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 12 Jul 2007 17:05:12 +0000 (14:05 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 12 Jul 2007 17:05:12 +0000 (14:05 -0300)
  <schepler@math.unipd.it> by the patch (closes: #359634)

debian/changelog
debian/rules

index 6e74f42..5a81027 100644 (file)
@@ -16,6 +16,8 @@ apt (0.7.4) UNRELEASED; urgency=low
       - changed SetupProxy() method to void;
   * Simplified HttpMethod::Fetch on http.cc removing Tail variable;
   * Fix pipeline handling on http.cc (closes: #413324)
+  * Fix building to properly support binNMUs. Thanks to Daniel Schepler
+    <schepler@math.unipd.it> by the patch (closes: #359634)
 
  -- Michael Vogt <michael.vogt@ubuntu.com>  Wed, 11 Jul 2007 23:20:15 +0100
 
index 3ebecfb..473821f 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' -e 's/\+.*$$//')
+APT_DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p' | sed -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')