[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] rpmbuild for sparemint?



WHat are you trying to do exactly?

In order to build an actual RPM, you are suppose to go from start to finish.

You can do tests by doing:

rpm --short-ciruit -bc netsurf.spec

That should only do the compile phase, if I have the command right.

rpm --short-ciruit -bi netsurf.spec

And that would only do the install phase.

Otherwise, you need to work magic, like tarring up the built spirce tree and dropping it in place of the true source, commenting out the configure statements in the spec, and doing the tue build that way, just swapping in the real src code ater the decompress has started, and then at some point swapping in a correct .spec file with the proper commands it in.

Thats the only way I know how to 'cheat' rpm. Basically it is forcng you to make sure everything works by doing an end to end build, but with the malloc issue, that causes headaches.

Any of this make sense?

Keith

On Sun, 6 Jun 2010, m0n0 wrote:

Is there an possibility to disable the remove of the build directory when
rpm starts? Because of that, it needs to recompile the whole package, and
that takes fkn long. That's bad when testing the rpm building...

I tried the --nobuild option, but that doesn't produce any rpms, looks
like it just checks some things.

--
Greets,
Ole