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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Oct 11 07:09:56 CEST 2010


Revision: 11235
          http://gar.svn.sourceforge.net/gar/?rev=11235&view=rev
Author:   wahwah
Date:     2010-10-11 05:09:55 +0000 (Mon, 11 Oct 2010)

Log Message:
-----------
mGAR v2: checkpkg, not reporting individual names when multiple shared libraries are present.

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	2010-10-11 05:02:17 UTC (rev 11234)
+++ csw/mgar/gar/v2/lib/python/package_checks.py	2010-10-11 05:09:55 UTC (rev 11235)
@@ -1011,7 +1011,7 @@
           "don't have compatible versions: %s.  This means that "
           "they are best placed in own packages, with each package "
           "named after library name and version. "
-          % (pkgname, sonames))
+          % (pkgname, sorted(set(sonames))))
       # If the sonames aren't uniform, there's no point in trying to match
       # sonames versus pkgname.
       check_names = False
@@ -1030,6 +1030,7 @@
             "More information: "
             "http://wiki.opencsw.org/checkpkg-error-tags"
             % (sonames, multilib_pkgname, pkgname))
+        check_names = False
   if check_names:
     for soname, binary_info in linkable_shared_libs:
       tmp = su.MakePackageNameBySoname(soname)


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