[csw-devel] SF.net SVN: gar:[12215] csw/mgar/gar/v2/lib/python/package_checks.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu Jan 6 13:07:24 CET 2011


Revision: 12215
          http://gar.svn.sourceforge.net/gar/?rev=12215&view=rev
Author:   wahwah
Date:     2011-01-06 12:07:24 +0000 (Thu, 06 Jan 2011)

Log Message:
-----------
checkpkg: Two comments for package_checks

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/package_checks.py

Modified: csw/mgar/gar/v2/lib/python/package_checks.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package_checks.py	2011-01-06 12:06:53 UTC (rev 12214)
+++ csw/mgar/gar/v2/lib/python/package_checks.py	2011-01-06 12:07:24 UTC (rev 12215)
@@ -962,6 +962,8 @@
     if binary_info["path"] in shared_libs:
       if su.IsLibraryLinkable(binary_info["path"]):
         # It is a shared library and other projects might link to it.
+        # Some libraries don't declare a soname; compile time linker defaults
+        # to their file name.
         if "soname" in binary_info and binary_info["soname"]:
           soname = binary_info["soname"]
         else:
@@ -1011,7 +1013,7 @@
           pkgname)
 
       check_names = False
-    else:
+    else: # len(linkable_shared_libs) > 1
       if pkgname not in multilib_pkgnames:
         error_mgr.ReportError(
             "shared-lib-pkgname-mismatch",


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list