From 127f453f7a674caea46ecf6ebabdad829e37b5d8 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Thu, 14 Jun 2012 20:07:01 +0200 Subject: Separate the software version and shared library version Not all version changes warrant a SONAME bump, so don't abuse the version as SONAME. This changes the soname to libept.so.1.aptpkg, with replaced by the libapt-pkg soversion, which is now detected at build time instead of being hardcoded. Add a compatibility symlink for libept.so.1.0.5.4.12. --- debian/libept1.4.12.install | 2 +- debian/libept1.4.12.links | 1 + debian/rules | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 debian/libept1.4.12.links (limited to 'debian') diff --git a/debian/libept1.4.12.install b/debian/libept1.4.12.install index c45ebcf..389d6db 100644 --- a/debian/libept1.4.12.install +++ b/debian/libept1.4.12.install @@ -1 +1 @@ -debian/tmp/usr/lib/lib*.so.* +debian/tmp/usr/lib/libept.so.1.aptpkg4.12 diff --git a/debian/libept1.4.12.links b/debian/libept1.4.12.links new file mode 100644 index 0000000..133c3b6 --- /dev/null +++ b/debian/libept1.4.12.links @@ -0,0 +1 @@ +usr/lib/libept.so.1.aptpkg4.12 usr/lib/libept.so.1.0.5.4.12 diff --git a/debian/rules b/debian/rules index 65e693c..d47988e 100755 --- a/debian/rules +++ b/debian/rules @@ -10,7 +10,7 @@ DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) DEB_MAKE_CHECK_TARGET := unit -DEB_DH_MAKESHLIBS_ARGS_libept0 = -V +DEB_DH_MAKESHLIBS_ARGS_libept1.4.12 = -V # comment out CONFIGURE and uncomment CMAKE flags to use cmake #DEB_CONFIGURE_EXTRA_FLAGS += --disable-shared --with-pic -- cgit v1.2.3