rebuild-scripts bumpspecfile.py,1.4,1.5
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Sat Feb 23 10:29:31 UTC 2008
- Previous message (by thread): rpms/thewidgetfactory/devel thewidgetfactory.spec,1.7,1.8
- Next message (by thread): rpms/gnustep-make/F-7 gnustep-make-2.0.4-fhs-fixes.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 gnustep-make.spec, 1.1, 1.2 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/fedora/rebuild-scripts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24914
Modified Files:
bumpspecfile.py
Log Message:
move the debugdiff into a single place
Index: bumpspecfile.py
===================================================================
RCS file: /cvs/fedora/rebuild-scripts/bumpspecfile.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- bumpspecfile.py 23 Feb 2008 01:14:19 -0000 1.4
+++ bumpspecfile.py 23 Feb 2008 10:29:31 -0000 1.5
@@ -59,15 +59,12 @@
print self.filename
raise BumpSpecError
new = `value+1`+post
- if True or post != '%{?dist}' and len(post):
- self.debugdiff(old, new)
else:
if value == None or value > 10000:
print 'WARNING: Bad pre-release versioning scheme!'
print self.filename
raise BumpSpecError
new = '0.'+`value+1`+post
- self.debugdiff(old, new)
return new
def increaseJPP(self, release):
@@ -85,7 +82,6 @@
newpost = self.increaseMain(post)
new = pre+str(value)+jpp+newpost
- self.debugdiff(old, new)
return new
def increaseFallback(self, release):
@@ -99,7 +95,6 @@
new = prefix+self.increaseMain(post)
else:
new = old+'.1'
- self.debugdiff(old, new)
return new
def increase(self, match):
@@ -111,6 +106,7 @@
new = self.increaseMain(old)
except BumpSpecError:
new = self.increaseFallback(old)
+ self.debugdiff(old, new)
# group 0 is the full line that defines the release
return match.group(0).replace(old, new)
- Previous message (by thread): rpms/thewidgetfactory/devel thewidgetfactory.spec,1.7,1.8
- Next message (by thread): rpms/gnustep-make/F-7 gnustep-make-2.0.4-fhs-fixes.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 gnustep-make.spec, 1.1, 1.2 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list