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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Jan 18 17:22:15 CET 2011


Revision: 13003
          http://gar.svn.sourceforge.net/gar/?rev=13003&view=rev
Author:   wahwah
Date:     2011-01-18 16:22:15 +0000 (Tue, 18 Jan 2011)

Log Message:
-----------
checkpkg: Suggest -dev, not -devel

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-18 16:12:18 UTC (rev 13002)
+++ csw/mgar/gar/v2/lib/python/package_checks.py	2011-01-18 16:22:15 UTC (rev 13003)
@@ -1088,10 +1088,12 @@
           error_mgr.ReportError(
               "shared-lib-package-contains-so-symlink",
               "file=%s" % entry["path"])
-          messenger.SuggestGarLine("# (If %s-devel doesn't exist yet)" % pkgname)
-          messenger.SuggestGarLine("PACKAGES += %s-devel" % pkgname)
+          messenger.SuggestGarLine("# (If %s-dev doesn't exist yet)" % pkgname)
+          messenger.SuggestGarLine("PACKAGES += %s-dev" % pkgname)
           messenger.SuggestGarLine(
-              "PKGFILES_%s-devel += %s" % (pkgname, entry["path"]))
+              "PKGFILES_%s-dev += %s" % (pkgname, entry["path"]))
+          messenger.SuggestGarLine(
+              "CATALOGNAME_%s-dev = %s_dev" % (pkgname, pkgname.replace("-", "_")))
           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