summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2013-11-06 10:37:46 -0600
committerSol Jerome <sol.jerome@gmail.com>2013-11-06 10:37:46 -0600
commited1271930d2a774bfc9d52c64e610083815075fd (patch)
treeb72a52ebe1950623763036b3681cc51a71a4783f /tools
parenta9c5ef601792aba01769a5263d79fe252da58e11 (diff)
downloadbcfg2-ed1271930d2a774bfc9d52c64e610083815075fd.tar.gz
bcfg2-ed1271930d2a774bfc9d52c64e610083815075fd.tar.bz2
bcfg2-ed1271930d2a774bfc9d52c64e610083815075fd.zip
export: Fix Release bug
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/export.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/export.py b/tools/export.py
index 0ea6df2af..8e90b8766 100755
--- a/tools/export.py
+++ b/tools/export.py
@@ -251,9 +251,11 @@ E.G. 1.2.0pre1 is a valid version.
if version_info['build'] == '':
find_and_replace('misc/bcfg2.spec', 'Release: ',
'Release: 1\n',
+ startswith=True,
dryrun=options.dryrun)
find_and_replace('misc/bcfg2-selinux.spec', 'Release: ',
'Release: 1\n',
+ startswith=True,
dryrun=options.dryrun)
else:
find_and_replace('misc/bcfg2.spec', 'Release: ',