[Erp5-report] r24135 - /spec/mandriva/2008.0/updateProducts.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Oct 10 13:36:16 CEST 2008


Author: kazuhiko
Date: Fri Oct 10 13:36:12 2008
New Revision: 24135

URL: http://svn.erp5.org?rev=24135&view=rev
Log:
remove reading zero in %changelog date.

Modified:
    spec/mandriva/2008.0/updateProducts.py

Modified: spec/mandriva/2008.0/updateProducts.py
URL: http://svn.erp5.org/spec/mandriva/2008.0/updateProducts.py?rev=24135&r1=24134&r2=24135&view=diff
==============================================================================
--- spec/mandriva/2008.0/updateProducts.py (original)
+++ spec/mandriva/2008.0/updateProducts.py Fri Oct 10 13:36:12 2008
@@ -51,7 +51,7 @@
     for line in spec.splitlines():
         if re.match('%changelog', line, re.IGNORECASE):
             new_spec += '%s\n' % line
-            new_spec += time.strftime('* %a %b %d %Y')
+            new_spec += time.strftime('* %a %b %e %Y')
             new_spec += ' %s %s-%s\n' % (packager, version, rel_str)
             new_spec += '- version %s\n\n' % version
         elif re.match('%define\s+version\s+.*', line, re.IGNORECASE):




More information about the Erp5-report mailing list