Boyd Adamson - 2011-01-27

I think it already does this in current releases, via autotag.

e.g. in one of my spec files I have this:

%class(manifest) %{installinfomanifest}

which produces this in the (IPS) manifest:

file <HASH> chash=<HASH> group=bin mode=0644 owner=root path=var/svc/manifest/site/install-info.xml pkg.csize=740 pkg.size=1744 restart_fmri=svc:/system/manifest-import:default

See section 9.3 of spec-files.txt, which is part of the distro