Author: gnichols Date: 2010-01-12 16:16:23 +0000 (Tue, 12 Jan 2010) New Revision: 288
Modified: trunk/tools/v7-release.py Log: fix
Modified: trunk/tools/v7-release.py =================================================================== --- trunk/tools/v7-release.py 2010-01-12 16:14:46 UTC (rev 287) +++ trunk/tools/v7-release.py 2010-01-12 16:16:23 UTC (rev 288) @@ -26,12 +26,15 @@
sourceTar = "%s/v7-%s-%s.el%s.tar.bz2" % (buildDir, v7.version.version, v7.version.release, v7.version.rhel_version)
-print "building for RHEL %u" % v7.version.rhel_version +print "building for RHEL %s" % v7.version.rhel_version
-distSubdir = "RHEL-%u-HWCert" % v7.version.rhel_version +distSubdir = "RHEL-%s-HWCert" % v7.version.rhel_version distVersionDir = "%s/%s" % (distDir, distSubdir) os.chdir(distVersionDir)
+#copy the spec file +shutil.copy(os.path.join(buildDir, "v7.spec"), "v7.spec") + # upload the tarball command = "make upload FILES=%s" % sourceTar print command @@ -46,7 +49,12 @@ os.system(command)
# build it -command = "make build COLLECTION=hwcert-%uE" % v7.version.rhel_version +if v7.version.rhel_version == "6": + tag = "HWCert-RHEL-6" +else: + tag = "hwcert-%sE" % v7.version.rhel_version + +command = "make build COLLECTION=%s" % tag print command os.system(command)
v7-commits@lists.stg.fedorahosted.org