* scripts/mono-find-requires.in: revert back to using package names
for .config file dep scanning. This is because noarch packages can be
built on either 32 or 64 bit arches, depending on either a 32bit or 64bit
library, which is wrong.
svn path=/trunk/mono/; revision=79803
+2007-06-15 Wade Berrier <wberrier@novell.com>
+
+ * scripts/mono-find-requires.in: revert back to using package names
+ for .config file dep scanning. This is because noarch packages can be
+ built on either 32 or 64 bit arches, depending on either a 32bit or 64bit
+ library, which is wrong.
2007-06-13 Randolph Chung <tausq@debian.org>
}
}
if(!ignore) {
- print req"'$libext'"
+ system("rpm -q --whatprovides --queryformat \"%{NAME}\n\" ""\""req"'$libext'""\"")
}
} ' $i 2>/dev/null
done
# Note about above:
# Use to do: system("rpm -q --whatprovides --queryformat \"%{NAME}\n\" ""\""req"'$libext'""\"")
# rpmlint prefers to have lib names instead of package names. There was a reason I was using package names but it slips me now...
+# Ah... now I remember... it's for noarch packs. The noarch packages can be built on either 32 or 64 bit... so we have to depend
+# on the package name instead.
PROVIDES=$(
for i in "${monolist[@]}"; do