diff options
Diffstat (limited to 'libxcb/check-pc-requires')
-rw-r--r-- | libxcb/check-pc-requires | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libxcb/check-pc-requires b/libxcb/check-pc-requires index 0fd9c6597..063356fb4 100644 --- a/libxcb/check-pc-requires +++ b/libxcb/check-pc-requires @@ -23,7 +23,7 @@ for inc in src/*.h; do included=`grep '# *include' $inc | sed -e 's/[^<"]*[<"]//' -e 's/[>"]//' | grep -v 'xcb.h\|xproto.h'` - requires=`grep '^Requires:' $pcin` + requires=`grep '^Requires.private:' $pcin` missing="" for i in $included; do ibase=`basename $i .h` @@ -58,7 +58,7 @@ for inc in src/*.h; do *) if [ "$fix" = "y" ]; then echo $package adding dependency on $missing - sed -i '/^Requires:/s/$/ '"$missing"'/' $pcin + sed -i '/^Requires.private:/s/$/ '"$missing"'/' $pcin else echo $package missing $missing status=1 |