From rpm-list-admin@freshrpms.net  Wed Aug 21 07:45:32 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 4BCD643C34
	for <jm@localhost>; Wed, 21 Aug 2002 02:45:31 -0400 (EDT)
Received: from phobos [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Wed, 21 Aug 2002 07:45:31 +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 g7L6eVZ13206 for
    <jm-rpm@jmason.org>; Wed, 21 Aug 2002 07:40:31 +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 g7L6c1J14275; Wed, 21 Aug 2002 08:38:01
    +0200
Received: from athlon.ckloiber.com (rdu25-28-106.nc.rr.com [24.25.28.106])
    by egwn.net (8.11.6/8.11.6/EGWN) with ESMTP id g7L6bcJ13949 for
    <rpm-list@freshrpms.net>; Wed, 21 Aug 2002 08:37:38 +0200
Received: (from ckloiber@localhost) by athlon.ckloiber.com (8.11.6/8.11.6)
    id g7L6bYj16433; Wed, 21 Aug 2002 02:37:34 -0400
X-Authentication-Warning: athlon.ckloiber.com: ckloiber set sender to
    ckloiber@ckloiber.com using -f
Subject: Re: RPM's %post, %postun etc
From: Chris Kloiber <ckloiber@ckloiber.com>
To: rpm-zzzlist@freshrpms.net
In-Reply-To: <02082015385901.01077@wilson>
References: <02082015385901.01077@wilson>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6)
Message-Id: <1029911854.14946.99.camel@athlon.ckloiber.com>
MIME-Version: 1.0
X-Mailscanner: Found to be clean, Found to be clean
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: 21 Aug 2002 02:37:34 -0400
Date: 21 Aug 2002 02:37:34 -0400

Have you tried rebuilding your package on a system that has a stock (or
no) .rpmmacros file? Does it still build (and install/uninstall) the way
you intended it to?

On Tue, 2002-08-20 at 09:38, Torsten Bronger wrote:
> Halloechen!
> 
> At the moment I create an RPM that also adds some files to
> teTeX's texmf/ tree.
> 
> Therefore I defined in my .rpmmacros a %texhash that
> calls texhash if it exists and in the spec file
> 
> %post
> %{texhash}
> 
> %postun
> %{texhash}
> 
> But this is a costly operation.  Is it nevertheless worth it?
> In particular, if this RPM is installed together with (very many)
> others, are those %pre, %post etc. skipped and an 'omnipotent' 
> script called that e.g. updates TeX's file database?
> 
> Tschoe,
> Torsten.

-- 
Chris Kloiber

_______________________________________________
RPM-List mailing list <RPM-List@freshrpms.net>
http://lists.freshrpms.net/mailman/listinfo/rpm-list

