From 30bb029b38329d0e367d07498e24edfa74c15cd1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 20 Oct 2012 14:26:12 +0900 Subject: [PATCH] test-rebuild.sh: fix yum install arg; also generate --scripts output --- test-rebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-rebuild.sh b/test-rebuild.sh index ab94f22..a3a607b 100755 --- a/test-rebuild.sh +++ b/test-rebuild.sh @@ -32,8 +32,8 @@ mkdir -p $TMP/ PKGS=$(cd $ARCH; rpm -qp $(ls *-$VERREL*.rpm)) for i in $PKGS; do - sudo yum install -q $i - for k in list requires provides; do + sudo yum install -q $ARCH/$i.rpm + for k in list requires provides scripts; do rpm -qp --$k $ARCH/$i.rpm | grep -v rpmlib > $TMP/$i.$k.test rpm -q --$k $i | grep -v rpmlib > $TMP/$i.$k.installed diff -u $TMP/$i.$k.installed $TMP/$i.$k.test || :