From b9e321456b35a71c269a99731ecde912f9e0d529 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Mon, 5 Mar 2018 12:47:43 +0000 Subject: [PATCH] xbps-src: make -dbg packages depend on the pkgver they are generated from Closes: #12161 [via git-merge-pr] --- common/hooks/post-install/06-strip-and-debug-pkgs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/hooks/post-install/06-strip-and-debug-pkgs.sh b/common/hooks/post-install/06-strip-and-debug-pkgs.sh index 109563deb5..0972f7e344 100644 --- a/common/hooks/post-install/06-strip-and-debug-pkgs.sh +++ b/common/hooks/post-install/06-strip-and-debug-pkgs.sh @@ -51,6 +51,7 @@ create_debug_pkg() { msg_red "$pkgver: failed to create debug pkg\n" return 1 fi + printf "${pkgver} " >> ${_destdir}/rdeps rmdir --ignore-fail-on-non-empty "${PKGDESTDIR}/usr/lib" 2>/dev/null return 0 }