diffrpms: Do not pass single package to rpmdiff

This commit is contained in:
Petr Písař 2010-10-07 17:55:53 +02:00
parent 090e953a99
commit c92c4f7c37
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ function process_dir() {
NEW_RPM=$(echo ${F}-[0-9]*-${NEW_RELEASE}.*)
test \( ! -e "$OLD_RPM" \) -a \( ! -e "$NEW_RPM" \) && continue
if [ ! -e "$OLD_RPM" ]; then echo "+ Package ${F}"; fi
if [ ! -e "$NEW_RPM" ]; then echo "- Package ${F}"; fi
if [ ! -e "$OLD_RPM" ]; then echo "+ Package ${F}"; continue; fi
if [ ! -e "$NEW_RPM" ]; then echo "- Package ${F}"; continue; fi
DIFF=$(rpmdiff -i S -i 5 -i T "$OLD_RPM" "$NEW_RPM" | \
grep -vE 'REQUIRES perl = | REQUIRES rpmlib\(' )