rpm/rpm-5.2.1-mono-avoid-empty-requires.patch

10 lines
411 B
Diff

diff -Nru rpm-5.2.1.orig//scripts/mono-find-requires rpm-5.2.1/scripts/mono-find-requires
--- rpm-5.2.1.orig//scripts/mono-find-requires 2007-07-13 00:25:31.000000000 +0200
+++ rpm-5.2.1/scripts/mono-find-requires 2011-01-11 17:52:40.320032775 +0100
@@ -83,4 +83,4 @@
# Of those, only chose the ones that are in REQUIRES
#
echo "$UNIQ
-$REQUIRES" | sort | uniq -d
+$REQUIRES" | sort | uniq -d | grep -v "^$"