SF.net SVN: gar:[23096] csw/mgar/gar/v2/lib/python/checkpkg_lib.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sat Mar 1 19:49:46 CET 2014
Revision: 23096
http://sourceforge.net/p/gar/code/23096
Author: wahwah
Date: 2014-03-01 18:49:45 +0000 (Sat, 01 Mar 2014)
Log Message:
-----------
checkpkg: Don't report missing /o/c/bin/isaexec
The CSWisaexec package has no files in it, /opt/csw/bin/isaexec is in a way
owned by CSWisaexec, but the file is put in place by the postinstall script,
not via pkgmap.
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/checkpkg_lib.py
Modified: csw/mgar/gar/v2/lib/python/checkpkg_lib.py
===================================================================
--- csw/mgar/gar/v2/lib/python/checkpkg_lib.py 2014-03-01 16:04:54 UTC (rev 23095)
+++ csw/mgar/gar/v2/lib/python/checkpkg_lib.py 2014-03-01 18:49:45 UTC (rev 23096)
@@ -704,6 +704,11 @@
# Files that were declared as needed, but we did not find any packages
# providing these files.
for unsatisfied_file in unsatisfied_needed_files:
+ # We need to ass a special case for isaexec, because
+ # /opt/csw/bin/isaexec in CSWisaexec is created in postinstall, and it
+ # isn't present in pkgmap, so it looks like the file is missing.
+ if unsatisfied_file.full_path == '/opt/csw/bin/isaexec':
+ continue
checkpkg_interface.ReportErrorForPkgname(
unsatisfied_file.pkgname,
'file-needed-but-no-package-satisfies-it',
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