Esempio n. 1
0
 def strip_install_dir(self):
     """strip install directory"""
     ctx.ui.action(_("Stripping files.."))
     install_dir = self.pkg_install_dir()
     try:
         nostrip = self.actionGlobals['NoStrip']
         util.strip_directory(install_dir, nostrip)
     except KeyError:
         util.strip_directory(install_dir)
Esempio n. 2
0
 def strip_install_dir(self):
     """strip install directory"""
     ctx.ui.action(_("Stripping files.."))
     install_dir = self.pkg_install_dir()
     try:
         nostrip = self.actionGlobals['NoStrip']
         util.strip_directory(install_dir, nostrip)
     except KeyError:
         util.strip_directory(install_dir)
Esempio n. 3
0
 def strip_install_dir(self):
     """strip install directory"""
     ctx.ui.action(_("Stripping files.."))
     install_dir = self.pkg_install_dir()
     pkg_name = self.spec.source.name + '-' + self.spec.source.version + '-' + self.spec.source.release
     try:
         nostrip = self.actionGlobals['NoStrip']
         util.strip_directory(install_dir, pkg_name, nostrip)
     except KeyError:
         util.strip_directory(install_dir, pkg_name)