← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2576: 1. debian-prep creates version number with "1" at the end

 

------------------------------------------------------------
revno: 2576
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-11-26 11:32:34 +0100
message:
  1. debian-prep creates version number with "1" at the end
modified:
  scripts/debian-prep


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'scripts/debian-prep'
--- scripts/debian-prep	2010-11-26 08:27:41 +0000
+++ scripts/debian-prep	2010-11-26 10:32:34 +0000
@@ -46,16 +46,16 @@
 
 # rename a current folder and create orig.tar.gz
 curName = os.path.basename(os.path.abspath(''))
-newName = 'yade-%s_%s' % (VERSION,DISTRIBUTION)
+newName = 'yade-%s_%s1' % (VERSION,DISTRIBUTION)
 os.rename (('../'+curName), '../'+newName)
 shutil.rmtree('.bzr')
-os.system(('tar -czf ../yade-%s_%s.orig.tar.gz ../'+os.path.basename(os.path.abspath(''))+'/')%(VERSION,DISTRIBUTION))
+os.system(('tar -czf ../yade-%s_%s1.orig.tar.gz ../'+os.path.basename(os.path.abspath(''))+'/')%(VERSION,DISTRIBUTION))
 
 
 # write debian/changelog
 try:
 	open('debian/changelog','w').write(
-	'''yade-%s (%s) %s; urgency=low
+	'''yade-%s (%s1) %s; urgency=low
 
   * Automatic debian changelog entry for yade-%s