diff options
author | Wade Berrier <wade@mono-cvs.ximian.com> | 2007-06-16 04:20:26 +0400 |
---|---|---|
committer | Wade Berrier <wade@mono-cvs.ximian.com> | 2007-06-16 04:20:26 +0400 |
commit | 7b0308e57fdbf02f4d8044d6481cf60a1faf20fd (patch) | |
tree | 68f4a62fb4bf720b6383f2bf1ce2038c0787db35 /scripts/mono-find-requires.in | |
parent | 95ef78e3200d7ae612042f00fae78a1b4c486b88 (diff) |
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.
svn path=/trunk/mono/; revision=79803
Diffstat (limited to 'scripts/mono-find-requires.in')
-rw-r--r-- | scripts/mono-find-requires.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/mono-find-requires.in b/scripts/mono-find-requires.in index df4f614f11e..63e3c03a6f3 100644 --- a/scripts/mono-find-requires.in +++ b/scripts/mono-find-requires.in @@ -103,7 +103,7 @@ REQUIRES=$( } } if(!ignore) { - print req"'$libext'" + system("rpm -q --whatprovides --queryformat \"%{NAME}\n\" ""\""req"'$libext'""\"") } } ' $i 2>/dev/null done @@ -112,6 +112,8 @@ REQUIRES=$( # 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 |