[bzrtools] Correct version check

Henrik Nordström hno at fedoraproject.org
Thu Apr 28 20:49:06 UTC 2011


commit edf8f887e35e42f830f9711fe4350c481e5d1aa4
Author: Henrik Nordstrom <henrik at henriknordstrom.net>
Date:   Thu Apr 28 22:51:05 2011 +0200

    Correct version check

 bzrtools.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/bzrtools.spec b/bzrtools.spec
index ef45e1d..249770d 100644
--- a/bzrtools.spec
+++ b/bzrtools.spec
@@ -7,11 +7,11 @@
 # (bzrlib is arch dependent.  Thus bzrlib plugins are also arch dependent.)
 %global debug_package %{nil}
 
-%global bzrver 2.4
-%global bzrnextver 2.5
+%global bzrver 2.3
+%global bzrnextver 2.4
 
 #global subtag  b1
-%global branch  2.3
+%global branch  %{bzrver}
 
 Name:           bzrtools
 Version:        %{branch}.1
@@ -34,7 +34,7 @@ BuildRequires:  python2-devel
 # also untested with bzrversion++ and may not work (depending on what has
 # changed between releases.). But releases often lag behind slightly so
 # we allow one revision difference, hoping that it will work..
-Requires:   bzr >= %{bzrver}, bzr < %{bzrnextver}
+Requires:   bzr >= %{bzrver}, bzr < %{bzrnextver}.0
 
 %description
 BzrTools is a collection of plugins for Bazaar-NG (bzr).  Among the included
@@ -83,6 +83,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Thu Apr 28 2011 Henrik Nordstrom <henrik at henriknordstrom.net> 2.3.1-5
+- Correct version check
+
 * Tue Apr 19 2011 Henrik Nordstrom <henrik at henriknordstrom.net>  2.3.1-4
 - Update for bzr 2.4
 


More information about the scm-commits mailing list