[neon/backports-focal/kimageannotator/Neon/release-lts] debian: fix up the lib package

Harald Sitter null at kde.org
Fri Feb 12 12:34:28 GMT 2021


Git commit f88948bdc087025c2750d9139b901c5803510a22 by Harald Sitter.
Committed on 12/02/2021 at 12:30.
Pushed by sitter into branch 'Neon/release-lts'.

fix up the lib package

- don't wildcard the so version it prevents the bulid from failing very
  visible should the version change (and an ABI transition be needed)
- actually name the package after the soname to reflect the fact that
  this library's version isn't properly versioned but linked to the
  source version

M  +2    -2    debian/control
A  +1    -0    debian/libkimageannotator0-4-0.install
D  +0    -1    debian/libkimageannotator0.install

https://invent.kde.org/neon/backports-focal/kimageannotator/commit/f88948bdc087025c2750d9139b901c5803510a22

diff --git a/debian/control b/debian/control
index b8abf49..f77a2e3 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,7 @@ Architecture: any
 Multi-Arch: same
 Depends:
  libkcolorpicker-dev,
- libkimageannotator0 (= ${binary:Version}),
+ libkimageannotator0-4-0 (= ${binary:Version}),
  ${misc:Depends},
 Description: Image Annotating Library (dev)
  The kImageAnnotator library provides tools to annotate
@@ -30,7 +30,7 @@ Description: Image Annotating Library (dev)
  .
  This package provides the development files.
 
-Package: libkimageannotator0
+Package: libkimageannotator0-4-0
 Architecture: any
 Multi-Arch: same
 Depends:
diff --git a/debian/libkimageannotator0-4-0.install b/debian/libkimageannotator0-4-0.install
new file mode 100644
index 0000000..41720a3
--- /dev/null
+++ b/debian/libkimageannotator0-4-0.install
@@ -0,0 +1 @@
+usr/lib/*/libkImageAnnotator.so.0.4.0
diff --git a/debian/libkimageannotator0.install b/debian/libkimageannotator0.install
deleted file mode 100644
index c408fc1..0000000
--- a/debian/libkimageannotator0.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/*/*.so.0.*


More information about the Neon-commits mailing list