Things broken by IPS support:
 - uninstall-pkgs should detect if the pkg was installed with pkgadd or pkg

Additional stuff needed for full IPS support:
 - need to define and implement additional spec file elements for
   attributes and tags, e.g.
   %tag (foo) in %files and
   %action(foo=bar), or %actions section akin to %files
- implement automatic rebuild of IPS source packages
- phat packages

Some things I'm planning fix/add:
 - %if foo == bar
 - version checking in requires/buildrequires
 - implement --rmsource, --rmspec, --clean, --clean, --buildroot
 - bcond_with (http://www.redhat.com/archives/epel-devel-list/2007-July/msg00208.html)
 - S8/S9 compatibility
 - pkgbuild -ta
 - pkgtool parallel build
 - md5 checksum for source tarballs
 - support all rpm4 spec file elements (need to figure out what's missing)
 - fix/implement version checking (currently dependencies check pkg names only)
 - add support for SVr4 "space files", see space(4) on Solaris
 - on Linux, generate plain rpm spec files and call rpmbuild to do the build
 - rpmrc support: http://rpm.org/max-rpm-snapshot/ch-rpmrc-file.html
 - macros: http://www.rpm.org/rpmapi-4.1/macros.html
 - automatic regression tests
 - implement autoreqprov
 - %define _use_internal_dependency_generator 0
 - %define __find_requires foo   <--- redefine dependency generator script
 - implement RequireArch / RequireOS
 - rpm seems to accept %Package, check if all directives are indeed
   case insensitive and implement accordingly
 - requires(pre|post|preun|postun)
 - spec file lint
 - rpm compat: only Name, Version and Release define %name, %version, %release
   other Tags do not define macros (grrr....)
 - %exclude modifier in %files

Longer term plans:
 - build dep tree and install dep tree visualization
 - build debugging (step-by-step interactive building)
