# VERSION 0.2
# Copyright 2009-2010 Gilbert Ashley <firstname.lastname@example.org>
# The code for explode_rpm was originally written by Jeff Johnson
# and modified by Lasse Collin <email@example.com>
# Copyright (C) 2005, 2006 Lasse Collin <firstname.lastname@example.org>
# code for handling debian archives taken from disrpm
# released under the Gnu General Public License (GPL)
# (c) email@example.com VER="v1.5, october 2004"
#110705 bk: added -i install option for rpm.
What I did there was combine and modify some code from two different programs. The code from Lasse Collin helped make it possible to decompress modern rpm's which use lzma/xz compression. The resulting program works even better than the 'official' rpm2cpio. I use exploderpm as part of my 'src2pkg' program.
One caveat, I think that newer *.deb packages are now using xz instead of gzip for the main payload -looks like I need to upgrade the code a bit for that.