summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
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: ',