aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-04 17:33:06 +0200
committerHarald Welte <laforge@gnumonks.org>2018-09-04 17:31:34 +0000
commit47e9e63bd54d31ca1d88ffd97da5be1caf3b4ae4 (patch)
treeb2b3e832f0ea5c70a26aa5e96c63d31133e666d5
parentb24efa551dc91e177c5cb8da674e9f8432d52dc9 (diff)
debian: Conflict libosmoabis6 with libosmoabis5
In previous commit 9540f59b1daeac36d71b20ac9cefe15019d6277c, libosmoabis packaging was fixed to match its contained major lib version. However, systems using nightly may run into issues when upgrading since now libosmoabis6 in repo tries to overwrite libosmoabis5 in their system and fails. By using Conflicts + Replaces it should do it now without erroring. Fixes: OS#3365 Change-Id: If98ae21670f13554da5aa46fe30741d56631fd8c
-rw-r--r--debian/control4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 9a4b27d..e47fc22 100644
--- a/debian/control
+++ b/debian/control
@@ -31,6 +31,10 @@ Package: libosmoabis6
Section: libs
Architecture: any
Multi-Arch: same
+# Due to previous release issues, libosmoabis5 actually installed same libosmoabis.so.6 file.
+# Once major is increased to 7, following two lines below can be dropped:
+Conflicts: libosmoabis5
+Replaces: libosmoabis5
Depends: ${shlibs:Depends},
${misc:Depends}
Description: GSM A-bis handling