[repo-coord] Re: RPM compatibility

Axel Thimm Axel.Thimm at atrpms.net
Fri Aug 5 12:40:41 CEST 2005


Hi,

On Fri, Aug 05, 2005 at 08:11:38PM +1000, Michael Mansour wrote:
> Hi Guys,
> 
> I use your repo's alot for many of my packages, but for applications I use
> that aren't available in repo's, I'm building them myself now and they seem to
> be working ok. I run FC1, FC2, FC3, SL3 and SL4 and build these packages for
> these platforms.
> 
> What I'd like to do as I gain experience in packaging, is give back to the
> community I've benefitted so much from, so I'd like (hope) to make these
> packages available.
> 
> I run various on-line services and have the ability to host ftp and http
> facilities, so I'm looking at making a small repo available, containing the
> various tools I use and package, and making them available to others.
> 
> I'm wondering though if there's a "standard linux base" I should be using when
> building the RPM packages?

No and yes. Some years ago we tried to come up with something at the
fedora.us start, but were disappointed from the outcome. Since then
there were a few attempts to address this, but everybody and his cat
had setup his own standard.

This is not a perfect situation, but the players are worn off from
this discussion and aren't motivated to do anything about it. There is
a repo-coord at atrpms.net list that is supposed to address such topics,
but still there is little that has been agreed upon.

Anyway, don't let that take your enthusiasm, just pick, what you
consider most fitting for your own packaging on the way.

> ie. when you build your packages, is there a standard FC3 build you
> use (a stock install that's not modified in any way etc) and build
> from that?

It depends. Some packages should be built in a pure not-updated
distribution. Most require an updated distribution and the repo's
other packages.

The most elegant way is to use self-buildable chroots (which are
constructed from the BuildRequires). But for starters I would use
simply rpmbuild on a normal system and worry about chroots later.

> I currently build them on actual running production systems, but as
> I am completely new to this area, any advice you guys could give me
> would be appreciated.

Start small and grow with each new package. :)

I'd use simple rpmbuild -ba foo.spec for learning rpm building. When
you feel confident enough, you can go using chroots. There are various
projects that can support you in this, most notably mach and dar (or
pydar?).

Also try to pick simple packages from repos and see how they were
built.

And most important: Have fun!!! :)
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/repo-coord/attachments/20050805/b20d467b/attachment.bin


More information about the repo-coord mailing list