The unified diff between revisions [a27e8a0b..] and [3e759d84..] is displayed below. It can also be downloaded as a raw diff.
#
#
# patch "debian/changelog"
# from [cebd648ce6b5001ea6522af763658321f6be2d1a]
# to [a9b7247f1e38aa950be84493988886ac63b50517]
#
# patch "debian/rules"
# from [0c9bd32909ec0b9742716c20fbc7d20bdfa1c669]
# to [4c580dc5c6ee5f3d6bf5b71d2fe63e9a873b2c90]
#
============================================================
--- debian/changelog cebd648ce6b5001ea6522af763658321f6be2d1a
+++ debian/changelog a9b7247f1e38aa950be84493988886ac63b50517
@@ -5,12 +5,14 @@ libxmlada (3.2-5) unstable; urgency=low
(Standards-Version): bump to 3.8.4 with no changes required.
(VCS-Browser, VCS-Mtn): new.
(Architecture): add armel Closes: #568447.
+ * debian/rules: extract the aliversion and soversion from
+ debian/changelog.
[Nicolas Boulenguez]
* debian/rules (libxmlada$(ALIVERSION)-dev): Removed obsolete and empty
doc directory.
- -- Ludovic Brenta <lbrenta@debian.org> Wed, 16 Jun 2010 19:28:15 +0200
+ -- Ludovic Brenta <lbrenta@debian.org> Wed, 16 Jun 2010 19:32:58 +0200
libxmlada (3.2-4) unstable; urgency=medium
============================================================
--- debian/rules 0c9bd32909ec0b9742716c20fbc7d20bdfa1c669
+++ debian/rules 4c580dc5c6ee5f3d6bf5b71d2fe63e9a873b2c90
@@ -25,8 +25,8 @@ include /usr/share/quilt/quilt.make
include /usr/share/quilt/quilt.make
-SOVERSION := 3.2
-ALIVERSION := 3.2
+ALIVERSION := $(shell sed -n -r 's/^Package: libxmlada(.*)-dev$$/\1/p' debian/control)
+SOVERSION := $(shell sed -n -r 's/^Package: libxmlada([^-]+)$$/\1/p' debian/control)
CPUS := $(shell getconf _NPROCESSORS_ONLN)
MODULES = unicode input_sources sax dom schema