More Centos 5 hacking.
authorCarl Hetherington <cth@carlh.net>
Tue, 24 May 2016 10:07:03 +0000 (11:07 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 24 May 2016 10:07:03 +0000 (11:07 +0100)
cscript

diff --git a/cscript b/cscript
index 04929e2ffdfd142c36f70af8b6a6227a41ffd842..3854d29a09984034b6a457ec40d48a383e13a1df 100644 (file)
--- a/cscript
+++ b/cscript
@@ -325,7 +325,7 @@ def package_rpm(target, cpu, version):
     make_spec('build/platform/linux/dcpomatic2.spec', version, target)
     cmd = 'rpmbuild --define \'_topdir %s\' -bb build/platform/linux/dcpomatic2.spec' % topdir
     if target.distro == 'centos' and target.version == '5':
-        cmd += ' --buildroot %s/BUILD/%s/BUILDROOT' % (topdir, version)
+        cmd += ' --buildroot %s/BUILD/dcpomatic-%s/BUILDROOT' % (topdir, version)
     target.command(cmd)
     rpms = []