File createrepo-0.9.9-use_integer_timestamps.patch of Package createrepo

--- modifyrepo.py.old	2013-06-20 10:27:06.000000000 +0000
+++ modifyrepo.py	2013-06-20 10:27:25.000000000 +0000
@@ -110,7 +110,7 @@
         new_rd.checksum = (self.checksum_type, csum)
         new_rd.openchecksum = (self.checksum_type, open_csum)
         new_rd.size = str(os.stat(destmd).st_size)
-        new_rd.timestamp = str(os.stat(destmd).st_mtime)
+        new_rd.timestamp = str(int(os.stat(destmd).st_mtime))
         self.repoobj.repoData[new_rd.type] = new_rd
         
         print "           type =", new_rd.type
openSUSE Build Service is sponsored by