Package: devscripts
Version: 2.10.11
Severity: wishlist

Please add support for repackaging zip files.

As this is not as trivial as repackaging a tar.bz to a tar.gz, here's
one way I'd do it (not sure if there're proper ways to examine zip files
in perl - this is jsut the way I use in a simple shellscript):

- create a temp dir
- extract the zip into the temp dir
- if the temp dir contains more than one directory, assume upstream is
  weird and didn't put the sources files into a directory. Rename the
  temp dir and tar+gz it.
- else: tar+gz the directory which is sitting in the temp dir now.
  Remove the temp dir.


Thanks & cheers,

Bernd



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to