[ATrpms-users] How to rebuild ATrpms' packages (was: Need upgraded Video4Linux-KMDL's Please)

Axel Thimm Axel.Thimm at ATrpms.net
Sat Jun 11 09:09:35 CEST 2011


On Fri, 2011-06-10 at 09:17 -0400, Larry Roberts wrote:

> So can I ask how you went about building your own?  I'm fine with
> doing that but I really dont have a clue on how to build an rpm.  My
> experience with building is limited to the old
> fashion ./configure,make and make install  :(

In general rebuilding an rpm is just

rpmbuild --rebuild blah.src.rpm

kmdl are a bit special because they can be built against various kernels
as well as having a "build kernel agnostic parts" mode. The default
action of rpmbuild --rebuild will produce a kmdl for your running kernel
if you have the matching kernel-devel installed.

If on the other had you want to modify something (add a patch), you need
to explore the src.rpm, fiddle with the specfile and use rpmbuild -bb on
it.

Note that many ATrpms packages use convenience macros from the package
atrpms-rpm-config, so make sure you install this before rebuilding
ATrpms' packages.

I changed ATrpms main website to a wordpress powered one in the hopes
that we would find some time to document processes like these a little
better. There is some better documentation, but it still lacks
interesting bits found only in mailing list archives.

And finally: If you fix something that is of general interest, please
submit back. :)
-- 
http://thimm.gr/ - http://ATrpms.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.atrpms.net/pipermail/atrpms-users/attachments/20110611/a16e5d9b/attachment.sig>


More information about the atrpms-users mailing list