def METHOD_NAME(self):
    orig.install.METHOD_NAME(self)
    if self.root:
        self.single_version_externally_managed = True
    elif self.single_version_externally_managed:
        if not self.root and not self.record:
            raise DistutilsArgError(
                "You must specify --record or --root when building system"
                " packages"
            )