summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2014-06-16 09:36:13 -0500
committerSol Jerome <sol.jerome@gmail.com>2014-06-16 09:36:13 -0500
commit67285919a86c8ffaf7a7ae7cc67e7c831c66ce33 (patch)
treedb1fc44fa9bfb107c48c91972ed2bef160d836aa /tools
parent37e87a10892d3f53c8ded2bbbf8887561600b8ef (diff)
downloadbcfg2-67285919a86c8ffaf7a7ae7cc67e7c831c66ce33.tar.gz
bcfg2-67285919a86c8ffaf7a7ae7cc67e7c831c66ce33.tar.bz2
bcfg2-67285919a86c8ffaf7a7ae7cc67e7c831c66ce33.zip
Version bump to 1.4.0pre1v1.4.0pre1
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/export.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/export.py b/tools/export.py
index 6b0238bbb..df3c810d5 100755
--- a/tools/export.py
+++ b/tools/export.py
@@ -257,13 +257,11 @@ E.G. 1.2.0pre1 is a valid version.
startswith=True,
dryrun=options.dryrun)
find_and_replace('misc/bcfg2.spec', 'BuildRoot',
- 'BuildRoot: %%{_tmppath}/%%{name}-%%{version}%s-%%{release}-root-%%(%%{__id_u} -n)\n' %
- version_info['build'],
+ 'BuildRoot: %{_tmppath}/%{name}-%{version}%{?_pre_rc}-%{release}-root-%(%{__id_u} -n)\n',
startswith=True,
dryrun=options.dryrun)
find_and_replace('misc/bcfg2-selinux.spec', 'BuildRoot',
- 'BuildRoot: %%{_tmppath}/%%{name}-%%{version}%s-%%{release}-root-%%(%%{__id_u} -n)\n' %
- version_info['build'],
+ 'BuildRoot: %{_tmppath}/%{name}-%{version}%{?_pre_rc}-%{release}-root-%(%{__id_u} -n)\n',
startswith=True,
dryrun=options.dryrun)
# fix pre problem noted in