summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2012-06-14 20:07:01 +0200
committerEnrico Zini <enrico@enricozini.org>2012-06-14 20:21:09 +0200
commit127f453f7a674caea46ecf6ebabdad829e37b5d8 (patch)
tree6078a7d9e9f67b3eb03d2fd841dc4866e9900fdc /debian
parent7d4383bd070a53e6c679fe189c9f15fdb7b1dcef (diff)
downloadlibept-127f453f7a674caea46ecf6ebabdad829e37b5d8.tar.gz
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<version>, with <version> 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.
Diffstat (limited to 'debian')
-rw-r--r--debian/libept1.4.12.install2
-rw-r--r--debian/libept1.4.12.links1
-rwxr-xr-xdebian/rules2
3 files changed, 3 insertions, 2 deletions
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