From ed1271930d2a774bfc9d52c64e610083815075fd Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Wed, 6 Nov 2013 10:37:46 -0600 Subject: export: Fix Release bug Signed-off-by: Sol Jerome --- tools/export.py | 2 ++ 1 file changed, 2 insertions(+) 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: ', -- cgit v1.2.3-1-g7c22