building rpm from zip file

Jordan Sissel jls at
Wed Aug 1 16:45:30 UTC 2012

On Tue, Jul 31, 2012 at 9:38 PM, Zippy Zeppoli <zippyzeppoli at>wrote:

> Hi List,
> I was wondering, is there a way to take a zip file that just needs to be
> extracted to a given directory and build the rpm based off the zip file
> without creating a spec file?
> I saw in some documentation the use of a command as follows:
> rpmbuild -tb
> I looked in the man page but didn't see a description for -tb. Is this a
> valid usage?
I don't have zip support in fpm, yet, but you could do this:

% unzip
% fpm -s dir -t rpm -n foo -v 1.2.3 ./

For more details:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Rpm-list mailing list