Build files now don't include .svn in deb, fixed spelling in ussd-common and added...
[ussd-widget] / ussd-common / build_ussd-common.py
index 1fac39e..ecd8b67 100644 (file)
@@ -20,7 +20,7 @@ if __name__ == "__main__":
     print
 
     p=py2deb.Py2deb("ussd-common")
-    p.description="Command line utility for makein USSD queries"
+    p.description="Command line utility for making USSD queries"
     p.author="Alexey Guseynov"
     p.mail="kibergus@gmail.com"
     p.depends = "python2.5, pexpect"
@@ -38,9 +38,9 @@ if __name__ == "__main__":
 chmod +s /usr/bin/pnatd
 """ #Set here your post install script
 
-    version = "0.0.0"
-    build = "2" 
-    changeloginformation = "First release" 
+    version = "0.0.11"
+    build = "0" 
+    changeloginformation = "Fixed orphographic mistake, added flush when printing to stdout." 
    
     dir_name = "src"     
 
@@ -49,12 +49,13 @@ chmod +s /usr/bin/pnatd
         real_dir = root[len(dir_name):]
         fake_file = []
         for f in files:
-            fake_file.append(root + os.sep + f + "|" + f);
+            if f.find(".svn") < 0 and root.find(".svn") < 0:
+               fake_file.append(root + os.sep + f + "|" + f);
         if len(fake_file) > 0:
             p[real_dir] = fake_file
 
     print p
     r = p.generate(version,build,changelog=changeloginformation,tar=True,dsc=True,changes=True,build=False,src=True)
     fake_file.append(root + os.sep + f + "|" + f)
-    if len(fake_file) > 0:
-        p[real_dir] = fake_file
+#    if len(fake_file) > 0:
+#        p[real_dir] = fake_file