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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Oct 10 22:45:46 CEST 2010


Revision: 11229
          http://gar.svn.sourceforge.net/gar/?rev=11229&view=rev
Author:   wahwah
Date:     2010-10-10 20:45:46 +0000 (Sun, 10 Oct 2010)

Log Message:
-----------
mGAR v2: When suggesting PKGFILES, prepend the path with a dash to make it absolute.

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-10 20:40:43 UTC (rev 11228)
+++ csw/mgar/gar/v2/lib/python/package_checks.py	2010-10-10 20:45:46 UTC (rev 11229)
@@ -1046,10 +1046,10 @@
         messenger.SuggestGarLine(
             "PACKAGES += %s" % suggested_pkgname)
         messenger.SuggestGarLine(
-            "PKGFILES_%s += %s" % (suggested_pkgname, binary_info["path"]))
+            "PKGFILES_%s += /%s" % (suggested_pkgname, binary_info["path"]))
         lib_basename, lib_filename = os.path.split(binary_info["path"])
         messenger.SuggestGarLine(
-            "PKGFILES_%s += %s/%s.*" % (suggested_pkgname, lib_basename, soname))
+            "PKGFILES_%s += /%s/%s.*" % (suggested_pkgname, lib_basename, soname))
         messenger.OneTimeMessage(
             soname,
             "This shared library (%s) is in a directory indicating that it "
@@ -1087,7 +1087,7 @@
           messenger.SuggestGarLine("# (If %s-devel doesn't exist yet)" % pkgname)
           messenger.SuggestGarLine("PACKAGES += %s-devel" % pkgname)
           messenger.SuggestGarLine(
-              "PKGFILES_%s-devel += %s" % (pkgname, entry["path"]))
+              "PKGFILES_%s-devel += /%s" % (pkgname, entry["path"]))
           messenger.Message(
               "The package contains shared libraries together with the "
               "symlink of the form libfoo.so -> libfoo.so.1.  "


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