Remove build-number from package name, Exa could you please verify?

This commit is contained in:
S.Çağlar Onur
2005-11-21 07:55:16 +00:00
parent d033ddc43d
commit fdb3072999
3 changed files with 2 additions and 6 deletions
-1
View File
@@ -177,7 +177,6 @@ def configure_pending():
pkginfo = A[x]
pkgname = util.package_name(x, pkginfo.version,
pkginfo.release,
pkginfo.build,
False)
pkg_path = util.join_path(ctx.config.lib_dir(),
pkgname)
+1 -2
View File
@@ -624,8 +624,7 @@ class Builder:
name = util.package_name(package.name,
self.spec.source.version,
self.spec.source.release,
self.metadata.package.build)
self.spec.source.release)
pkg = Package(name, 'w')
package_names.append(name)
+1 -3
View File
@@ -494,10 +494,8 @@ def clean_locks(top = '.'):
# Package/Repository Related Functions #
########################################
def package_name(name, version, release, build, prependSuffix=True):
def package_name(name, version, release, prependSuffix=True):
fn = name + '-' + version + '-' + release
if build:
fn += '-' + str(build)
if prependSuffix:
fn += ctx.const.package_suffix
return fn