building rpm from zip file

devzero2000 pinto.elia at gmail.com
Wed Aug 1 12:26:43 UTC 2012


On Wed, Aug 1, 2012 at 6:38 AM, Zippy Zeppoli <zippyzeppoli at gmail.com>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 somezip.zip
>
> I looked in the man page but didn't see a description for -tb. Is this a
> valid usage?
>
No, it isn't. The man page is clear enough, -t is for tar not zip an
require a spec file inside. http://linux.die.net/man/8/rpmbuild but if you
want more
http://docs.fedoraproject.org/ro/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch11s02.html

hth



>
> Thanks,
> Z
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20120801/2c54077b/attachment.html>


More information about the Rpm-list mailing list