On Sat, 01 May 2010 02:16:53 -0500, Brian Cameron <[email protected]> wrote: > Albert: > >>>> The spec file syntax is also conceptually an exported interface, and it >>>> needs a stability level. It would be nice if the spec file syntax were >>>> part of the materials (I'm guessing it's documented somewhere anyway). >> >> The basic syntax is the same as rpmbuild spec files, and pkgbuild >> includes >> a set of predefined macros and supports some additional tags >> (attributes/keywords): http://pkgbuild.sourceforge.net/man.php > > True, although pkgbuild does support some Solaris/OpenSolaris specific > extensions, and it might be good to highlight those a bit more. > > For example, one thing I notice is that the new "IPS_package_name" > and "Meta(info.classification)" keys cause syntax errors if you try > to use an older version of pkgbuild. It would be nice if pkgbuild > had better backwards compatibility support and provided some mechanism > to allow people who just want to build SVR5 packages a way to tell > pkgbuild to ignore keys that provide features that are not going to be > used anyway. >
If it's desirable to keep older pkgbuild versions working with new spec files, it might be necessary to introduce macros for %if guards around new tags that are not being ignored. -Albert _______________________________________________ opensolaris-arc mailing list [email protected]
