Browse Source

- d/rules, d/libgpsLIBGPSSONAME.install: replace libgps.so.LIBGPSSONAME with a quirk to avoid issues by broken fakeroot

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
master
Christian Ehrhardt Bernd Zeimetz 1 year ago
parent
commit
d8942ba4f2
2 changed files with 4 additions and 1 deletions
  1. +0
    -1
      debian/libgpsLIBGPSSONAME.install
  2. +4
    -0
      debian/rules

+ 0
- 1
debian/libgpsLIBGPSSONAME.install View File

@@ -1,2 +1 @@
usr/lib/*/libgps.so.LIBGPSSONAME
usr/lib/*/libgps.so.LIBGPSSONAME.*

+ 4
- 0
debian/rules View File

@@ -180,6 +180,10 @@ install-stamp: build-stamp build-static-stamp $(LIBGPS_DEBIAN_FILE_TARGETS)
mv -v debian/tmp/usr/local/lib/* debian/tmp/usr/lib/
# install everything
dh_install
# quirk to avoid issues by broken fakeroot misdetecting links as files and
# then breaking dh_install -> cp -a fatally
ln -s libgps.so.24.0.0 debian/libgps24/usr/lib/$(DEB_HOST_MULTIARCH)/libgps.so.24
rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libgps.so.24
dh_missing --fail-missing
# remove rpaths
find debian -type f -exec file {} \; |\


Loading…
Cancel
Save