Alexander Pyhalov
2015-10-27 0f39a28bd3e966db86ba76ed5641d46bb210b5ca
Userland incorporator should strip timestamps
1 files modified
4 ■■■■ changed files
tools/userland-incorporator 4 ●●●● patch | view | raw | blame | history
tools/userland-incorporator
@@ -54,9 +54,9 @@
    def __package_to_str(self, name, version):
        # strip the :timestamp from the version string
        # version = version.split(':', 1)[0]
        version = version.split(':', 1)[0]
        # strip the ,{build-release} from the version string
        # version = re.sub(",[\d\.]+", "", version)
        version = re.sub(",[\d\.]+", "", version)
        return "depend fmri=%s@%s facet.version-lock.%s=true type=incorporate" % (name, version, name)