[perl] diffrpms: Do not pass single package to rpmdiff
Petr Pisar
ppisar at fedoraproject.org
Thu Oct 7 16:56:25 UTC 2010
commit c92c4f7c37fb441eb63e2ff94bfdb843472823eb
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Oct 7 17:55:53 2010 +0200
diffrpms: Do not pass single package to rpmdiff
diffrpms | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/diffrpms b/diffrpms
index ff1709b..b3a6edc 100755
--- a/diffrpms
+++ b/diffrpms
@@ -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\(' )
More information about the scm-commits
mailing list