How to create an rpm without a build step

Posted by infra.user on Server Fault See other posts from Server Fault or by infra.user
Published on 2010-12-30T21:08:26Z Indexed on 2010/12/30 21:56 UTC
Read the original article Hit count: 173

Filed under:
|

I'm trying to create an rpm of some code which doesn't need to be built. It will just need to run a script when it's installed on the destination system (i.e. I just need the %install portion of the spec file).

I've left both %build and %configure sections of my rpm spec file empty, yet rpmbuild continues to try and execute ./configure with a bunch of parameters.

Does anyone know how I can have rpmbuild create the rpm without trying to run ./configure?

Thanks.

© Server Fault or respective owner

Related posts about rpm

Related posts about rpmbuild