aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-funcs
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-07-10 20:51:36 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-07-10 21:09:51 +0000
commit0482aa91ae30bdb67dfa4a916383c9eae1c4891a (patch)
tree823f697d9093c0b3d160b5ccd7f5da3ea93b9014 /pbuilder-satisfydepends-funcs
parent4e6503249dc64810cb6d88552a8799f0803c4f63 (diff)
downloadpbuilder-0482aa91ae30bdb67dfa4a916383c9eae1c4891a.tar
pbuilder-0482aa91ae30bdb67dfa4a916383c9eae1c4891a.tar.gz
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
Diffstat (limited to 'pbuilder-satisfydepends-funcs')
-rwxr-xr-xpbuilder-satisfydepends-funcs4
1 files changed, 4 insertions, 0 deletions
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"