summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog4
-rwxr-xr-xdebian/rules2
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index a828d02c1..448f4f1ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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
diff --git a/debian/rules b/debian/rules
index a8bf88762..02ee734bb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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')