Am 05.05.2018 um 15:21 schrieb Michael Biebl: > The attached patch is also a bit too simplistic atm. We shouldn't > hard-code the upstream version number.
Something like the attached patch might be more suitable. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
diff --git a/debian/rules b/debian/rules old mode 100755 new mode 100644 index 0b91d6b..eb6e215 --- a/debian/rules +++ b/debian/rules @@ -265,15 +265,21 @@ override_dh_missing: override_dh_installinit: dh_installinit --no-start +PROJECT_VERSION ?= $(shell awk '/PACKAGE_VERSION/ {print $$3}' build-deb/config.h | tr -d \") + # The SysV compat tools (which are symlinks to systemctl) are # quasi-essential, so add their dependencies to Pre-Depends # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753589 override_dh_shlibdeps: - dh_shlibdeps -psystemd -- -dPre-Depends -edebian/systemd/bin/systemctl -dDepends + dh_shlibdeps -psystemd -- \ + -dPre-Depends \ + -edebian/systemd/bin/systemctl \ + -edebian/systemd/lib/systemd/libsystemd-shared-$(PROJECT_VERSION).so \ + -dDepends dh_shlibdeps --remaining-packages -Lsystemd override_dh_makeshlibs: - sed 's/SHARED_LIB_VERSION/$(shell awk '/PACKAGE_VERSION/ {print $$3}' build-deb/config.h | tr -d \")/' debian/shlibs.local.in > debian/shlibs.local + sed 's/SHARED_LIB_VERSION/$(PROJECT_VERSION)/' debian/shlibs.local.in > debian/shlibs.local dh_makeshlibs -plibudev1 --add-udeb=libudev1-udeb -- -c$(GENSYMBOLS_LEVEL) dh_makeshlibs -psystemd -Xlibsystemd-shared -- -c$(GENSYMBOLS_LEVEL) dh_makeshlibs --remaining-packages -- -c$(GENSYMBOLS_LEVEL)
signature.asc
Description: OpenPGP digital signature