mkdir -p %{installroot}/etc/rpm
cat > %{installroot}/etc/rpm/macros <<EOF
%_install_langs en_US:en
+%_excludedocs 1
+%__file_context_path /dev/null
EOF
# Initialize RPM database in reference image
--installroot=%{installroot} \
-y groupinstall VServer
+# Freshen any new RPMs
+find %{_topdir}/RPMS -type f | xargs rpm --root %{installroot} -F
+
# Clean up /dev in reference image
MAKEDEV