From 0482aa91ae30bdb67dfa4a916383c9eae1c4891a Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 10 Jul 2015 20:51:36 +0000 Subject: pbuilder-satisfydepends-funcs: fix a case where a "strictly earlier" reletionship was considered a build profile (and as a result the build-dep vanished) Yes, this is not really a fix. Yes, I'd really love to fix the original regexp. Yes, *this will not stay here forever* (you have to exercise your doublethink!) Closes: #791991 Gbp-Dch: Short --- pbuilder-satisfydepends-funcs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pbuilder-satisfydepends-funcs') diff --git a/pbuilder-satisfydepends-funcs b/pbuilder-satisfydepends-funcs index 0b955e3..da226a1 100755 --- a/pbuilder-satisfydepends-funcs +++ b/pbuilder-satisfydepends-funcs @@ -235,6 +235,10 @@ checkbuilddep_restrictiondeps() { local PROFILE local NEGATED local FOUND + if [ "$DEP_RESTRICTIONS" = "$INSTALLPKG" ]; then + # there is not a build profile, rather it's a version costraint + return 1 + fi IFS=';' read -ra RESTRLISTS <<< "$DEP_RESTRICTIONS" for restrlist in "${RESTRLISTS[@]}"; do SEEN_PROFILE="yes" -- cgit v1.2.3