File: use-newer-timestamp-date.patch

package info (click to toggle)
https-everywhere 4.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 16,040 kB
  • ctags: 1,990
  • sloc: xml: 29,807; python: 1,839; sh: 322; makefile: 36
file content (16 lines) | stat: -rw-r--r-- 643 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Use a recent date for the timestamp of the files.
 Without the patch 1980-01-01 is used and will be rejected by Launchpad with
 ".deb has X files with a time stamp too far in the past"
Author: Benjamin Drung <bdrung@debian.org>
Forwarded: no

--- a/utils/create_xpi.py
+++ b/utils/create_xpi.py
@@ -34,5 +34,6 @@
 
 xpiFile = zipfile.ZipFile(args.xpiname, mode='w', compression=compress)
 
-xpiFile.write_from_directory(args.directory, exclusions, compress_type=compress)
+xpiFile.write_from_directory(args.directory, exclusions, compress_type=compress,
+                             date_time=(2013,12,1,0,0,0))
 xpiFile.close()