[csw-maintainers] New check: depending alternatives

Maciej Bliziński maciej at opencsw.org
Fri Jun 17 12:00:08 CEST 2011


Hello maintainers,

I've just added[1] a new check.  If a package contains a file of the
cswalternatives class, checkpkg will expect a dependency on
CSWalternatives.  For those who are interested in how the code works,
the dependency is declared via the NeedFile() function.  Inside the
check, it is declared that our package under check needs the
/opt/csw/sbin/alternatives file.  There is no need to specifically
list CSWalternatives.  Checkpkg resolves the
/opt/csw/sbin/alternatives path to the package that contains it.

Maciej

[1] http://sourceforge.net/apps/trac/gar/changeset/14834


More information about the maintainers mailing list