From rpm-list-admin@freshrpms.net Mon Aug 19 10:57:25 2002
Return-Path: <rpm-zzzlist-admin@freshrpms.net>
Delivered-To: yyyy@localhost.netnoteinc.com
Received: from localhost (localhost [127.0.0.1])
by phobos.labs.netnoteinc.com (Postfix) with ESMTP id A6DAE4411C
for <jm@localhost>; Mon, 19 Aug 2002 05:49:14 -0400 (EDT)
Received: from phobos [127.0.0.1]
by localhost with IMAP (fetchmail-5.9.0)
for jm@localhost (single-drop); Mon, 19 Aug 2002 10:49:14 +0100 (IST)
Received: from egwn.net (ns2.egwn.net [193.172.5.4]) by
dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g7HBjs628955 for
<jm-rpm@jmason.org>; Sat, 17 Aug 2002 12:45:54 +0100
Received: from auth02.nl.egwn.net (localhost [127.0.0.1]) by egwn.net
(8.11.6/8.11.6/EGWN) with ESMTP id g7HBi2J21768; Sat, 17 Aug 2002 13:44:02
+0200
Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by
egwn.net (8.11.6/8.11.6/EGWN) with ESMTP id g7HBhoJ21717 for
<rpm-list@freshrpms.net>; Sat, 17 Aug 2002 13:43:50 +0200
Received: from cs78128057.pp.htv.fi ([62.78.128.57]) by posti.pp.htv.fi
(8.11.1/8.11.1) with ESMTP id g7HBheH17176 for <rpm-list@freshrpms.net>;
Sat, 17 Aug 2002 14:43:41 +0300 (EETDST)
Subject: Re: Portable RPMs
From: Ville =?ISO-8859-1?Q?Skytt=E4?= <ville.skytta@iki.fi>
To: rpm-zzzlist@freshrpms.net
In-Reply-To: <02081619580702.01597@wilson>
References: <02081619580702.01597@wilson>
Content-Type: text/plain; charset=ISO-8859-1
X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6)
Message-Id: <1029584626.18239.128.camel@bobcat.ods.org>
MIME-Version: 1.0
X-Mailscanner: Found to be clean, Found to be clean
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by egwn.net id
g7HBhoJ21717
Sender: rpm-zzzlist-admin@freshrpms.net
Errors-To: rpm-zzzlist-admin@freshrpms.net
X-Beenthere: rpm-zzzlist@freshrpms.net
X-Mailman-Version: 2.0.11
Precedence: bulk
Reply-To: rpm-zzzlist@freshrpms.net
List-Help: <mailto:rpm-zzzlist-request@freshrpms.net?subject=help>
List-Post: <mailto:rpm-zzzlist@freshrpms.net>
List-Subscribe: <http://lists.freshrpms.net/mailman/listinfo/rpm-zzzlist>,
<mailto:rpm-list-request@freshrpms.net?subject=subscribe>
List-Id: Freshrpms RPM discussion list <rpm-zzzlist.freshrpms.net>
List-Unsubscribe: <http://lists.freshrpms.net/mailman/listinfo/rpm-zzzlist>,
<mailto:rpm-list-request@freshrpms.net?subject=unsubscribe>
List-Archive: <http://lists.freshrpms.net/pipermail/rpm-zzzlist/>
X-Original-Date: 17 Aug 2002 14:43:45 +0300
Date: 17 Aug 2002 14:43:45 +0300
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