On Thu, 2005-05-05 at 00:30 +0200, Rakotomandimby (R12y) Mihamina wrote:
Hello,
I saw a lot of documentation on how to rebuild rpm, building rpm from an
src.rpm, but:
How to generate the src.rpm?
Because. I used the src.rpm of someone to generate my rpms, and I would
like people to be abble to use my src.rpms too.
But I dont know how to generate one, from the sources, the patches and
the specfile.
Would you help me? just indicate a link if you have one.
If you use "rpmbuild -ba" instead of "rpmbuild -bb" to build your
RPMs,
you'll get a src.rpm as well as your binary RPMs.
Alternatively, you can just do "rpmbuild -bs" to build a src.rpm.
See "man rpmbuild" (of course).
Paul.
--
Paul Howarth <paul(a)city-fan.org>