From 4e44da71d5ba7b201e3da8c7cc34d996f10d2564 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 22 Aug 2014 10:57:50 -0700 Subject: [PATCH] move wheezy hack into build_dsc.sh, where it belongs Signed-off-by: Sage Weil --- build_dsc.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/build_dsc.sh b/build_dsc.sh index dcab2c42..e5990a3f 100755 --- a/build_dsc.sh +++ b/build_dsc.sh @@ -55,8 +55,14 @@ do cd .. fi - # hack - [ "$dist" = "lenny" ] && sed -i 's/, libgoogle-perftools-dev[^,]*,/,/' ceph-$cephver/debian/control + # per-dist hacks + if [ "$dist" = "lenny" ]; then + sed -i 's/, libgoogle-perftools-dev[^,]*,/,/' ceph-$cephver/debian/control + fi + if [ "$dist" = "wheezy" ]; then + grep -v babeltrace ceph-$cephver/debian/control > ceph-$cephver/debian/control.new + mv ceph-$cephver/debian/control.new ceph-$cephver/debian/control + fi dpkg-source -b ceph-$cephver -- 2.39.5