diff options
author | Wade Berrier <wade@mono-cvs.ximian.com> | 2007-06-09 13:38:32 +0400 |
---|---|---|
committer | Wade Berrier <wade@mono-cvs.ximian.com> | 2007-06-09 13:38:32 +0400 |
commit | 8a2820a23c9cda22843f93d9e22e7abe0effca6d (patch) | |
tree | 18274f36f2e2c3a3789d4fc5da297156a58ee976 /scripts/mono-find-requires.in | |
parent | f514aab35c57e64ae361d7069676cdb8ce7bf857 (diff) |
2007-06-09 Wade Berrier <wberrier@novell.com>
* scripts/mono-find-requires.in: use lib name instead of package name
for deps found in .config files. suse's rpmlint prefers it that way.
svn path=/trunk/mono/; revision=79041
Diffstat (limited to 'scripts/mono-find-requires.in')
-rw-r--r-- | scripts/mono-find-requires.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/mono-find-requires.in b/scripts/mono-find-requires.in index cc93dbbbf92..df4f614f11e 100644 --- a/scripts/mono-find-requires.in +++ b/scripts/mono-find-requires.in @@ -103,12 +103,16 @@ REQUIRES=$( } } if(!ignore) { - system("rpm -q --whatprovides --queryformat \"%{NAME}\n\" ""\""req"'$libext'""\"") + print 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... + PROVIDES=$( for i in "${monolist[@]}"; do ($bindir/monodis --assembly $i | awk ' |