On Fri, 2002-08-16 at 20:58, Torsten Bronger wrote:
> If I create an RPM according to one of the how-to's with having
> Red Hat in mind, how big are my chances that it will also work
> for the SuSE distribution, or others?  (I don't know how many
> base on the RPM system.)
>
> Or what must I pay attention to when creating an RPM that should
> work with the big distributions?
One practice I've adopted is to list Requires: only when they're
absolutely necessary.  This will help because some packages are named
differently between distributions (eg. SDL <-> libSDL), and the
dependencies are automatically handled by RPM by depending on shared
library names.
This doesn't apply to BuildRequires: though.
Use macros for directory names where available, eg %{_libdir},
%{_bindir}, %{_datadir} etc.
I'd like to suggest using as many RPM macros for command names as
possible too, but unfortunately I don't know of a definitive reference
about them...
I have a small RedHat 7.3 RPM/apt repository at
<http://cachalot.ods.org/>, and I've received reports from people
running Mandrake 8.x and SuSE that the RPMs work with them out of the
box.
--
\/ille Skyttä
ville.skytta at iki.fi
_______________________________________________
RPM-List mailing list <RPM-List@freshrpms.net>
http://lists.freshrpms.net/mailman/listinfo/rpm-list

from localhost (localhost [127.0.0.1])
	by phobos.labs.netnoteinc.com (Postfix) with ESMTP id 6147D43C34
	for <jm@localhost>; Mon, 19 Aug 2002 11:31:35 -0400 (EDT)
from phobos [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Mon, 19 Aug 2002 16:31:35 +0100 (IST)
from egwn.net (auth02.nl.egwn.net [193.172.5.4]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g7JFVx630235 for
    <jm-rpm@jmason.org>; Mon, 19 Aug 2002 16:31:59 +0100
from python (gw01.es3.egwn.net [212.9.66.13]) (authenticated) by
    egwn.net (8.11.6/8.11.6/EGWN) with ESMTP id g7JFPwJ16539 for
    <rpm-list@freshrpms.net>; Mon, 19 Aug 2002 17:25:59 +0200
From rpm-list-admin@freshrpms.net  Mon Aug 19 16:31:35 2002