From 67285919a86c8ffaf7a7ae7cc67e7c831c66ce33 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Mon, 16 Jun 2014 09:36:13 -0500 Subject: Version bump to 1.4.0pre1 Signed-off-by: Sol Jerome --- tools/export.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tools') 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 -- cgit v1.2.3-1-g7c22