diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-30 09:46:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-30 09:46:05 +0100 |
| commit | 02b42ec90f40ed50230435ef9b86f02056a6da4b (patch) | |
| tree | de08551a9b789c733f432c68d3a617a7edfae068 /cscript | |
| parent | 8fdfc18162ffee3401c64e676481b5e89480ac83 (diff) | |
Initial fiddling for Fedora build.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -324,7 +324,7 @@ def package_debian(target, cpu, version): return debs -def package_centos(target, cpu, version): +def package_rpm(target, cpu, version): topdir = os.path.realpath('build/rpmbuild') os.makedirs('%s/BUILD' % topdir) os.makedirs('%s/RPMS' % topdir) @@ -363,8 +363,8 @@ def package(target, version): if target.distro == 'debian' or target.distro == 'ubuntu': return package_debian(target, cpu, version) - elif target.distro == 'centos': - return package_centos(target, cpu, version) + elif target.distro == 'centos' or target.distro == 'fedora': + return package_rpm(target, cpu, version) elif target.platform == 'osx': target.command('bash platform/osx/make_dmg.sh %s' % target.directory) return os.path.abspath(glob.glob('build/platform/osx/DCP-o-matic*.dmg')[0]) |
