Author: wade
Date: 2007-06-09 05:38:32 -0400 (Sat, 09 Jun 2007)
New Revision: 79041

Modified:
   trunk/mono/ChangeLog
   trunk/mono/scripts/mono-find-requires.in
Log:
2007-06-09  Wade Berrier  <[EMAIL PROTECTED]>

        * 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.



Modified: trunk/mono/ChangeLog
===================================================================
--- trunk/mono/ChangeLog        2007-06-09 08:41:55 UTC (rev 79040)
+++ trunk/mono/ChangeLog        2007-06-09 09:38:32 UTC (rev 79041)
@@ -1,3 +1,8 @@
+2007-06-09  Wade Berrier  <[EMAIL PROTECTED]>
+
+       * 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.
+
 2007-05-29  Robert Jordan  <[EMAIL PROTECTED]>
 
        * data/config.in: add mono_win32_compat entries.

Modified: trunk/mono/scripts/mono-find-requires.in
===================================================================
--- trunk/mono/scripts/mono-find-requires.in    2007-06-09 08:41:55 UTC (rev 
79040)
+++ trunk/mono/scripts/mono-find-requires.in    2007-06-09 09:38:32 UTC (rev 
79041)
@@ -103,12 +103,16 @@
                                }
                        }
                        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 "[EMAIL PROTECTED]"; do
                ($bindir/monodis --assembly $i | awk '

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to