diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2014-06-16 09:36:13 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2014-06-16 09:36:13 -0500 |
commit | 67285919a86c8ffaf7a7ae7cc67e7c831c66ce33 (patch) | |
tree | db1fc44fa9bfb107c48c91972ed2bef160d836aa /tools | |
parent | 37e87a10892d3f53c8ded2bbbf8887561600b8ef (diff) | |
download | bcfg2-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-x | tools/export.py | 6 |
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 |