RPM Community Forums

Mailing List Message of <rpm-devel>

RE: RPM 5.0.3 released

From: Stefan Westmeier <stefan_westmeier@hotmail.de>
Date: Tue 04 Mar 2008 - 12:01:43 CET
Message-ID: <BAY115-W247C341DE092354E1CA3F598100@phx.gbl>

One additional information is that rpm -V says everything is OK:
 

D: ========== +++ base-bin-1.0-0803041109.i686 i686/cygwin 0x0D:  Dirnames: /                                             YES (sysinfo provides)D:  Dirnames: /cygdrive/d/home/perforce/wa_audiobase_deliveries/refprj/imp YES (added files)D: opening  sql db         /cygdrive/d/home/perforce/wa_audiobase_deliveries/refprj/_RPMDB/Basenames (Basenames) mode=0x2D:  Dirnames: /cygdrive/d/home/perforce/wa_audiobase_deliveries/refprj/imp YES (db files)D:  Dirnames: /cygdrive/d/home/perforce/wa_audiobase_deliveries/refprj YES (sysinfo provides)D: opening  sql db         /cygdrive/d/home/perforce/wa_audiobase_deliveries/refprj/_RPMDB/Conflictname (Conflictname) mode=0x2........    /cygdrive/d/home/perforce/wa_audiobase_deliveries/refprj/imp........    /cygdrive/d/home/perforce/wa_audiobase_deliveries/refprj/imp/mm........    /cygdrive/d/home/perforce/wa_audiobase_deliveries/refprj/imp/nav........    /cygdrive/d/home/perforce/wa_audiobase_deliveries/refprj/imp/sys


From: stefan_westmeier@hotmail.deTo: rpm-devel@rpm5.orgSubject: RE: RPM 5.0.3 releasedDate: Tue, 4 Mar 2008 11:38:01 +0100


Hi, while installing rpm-5.0.3 and testing it in my environment I found a different behaviour compared to rpm-5.0.2regarding handling of dependency check during installation of packages. An example should demonstrate this. A package base-bin define the following directory structure /imp to beincluded in the package: 
Summary: Base PackageName: base-binPrefix: /imp.... %installmkdir -p $RPM_BUILD_ROOT/impmkdir -p $RPM_BUILD_ROOT/imp/sysmkdir -p $RPM_BUILD_ROOT/imp/navmkdir -p $RPM_BUILD_ROOT/imp/mm .... %files/imp 
Installing the package relocating /imp to /my/home/imp gives the following error:
 
        /imp is needed by base-bin-1.0-0803041109.i686
 
So my questions are:
 
1) what is the correct way of specifying directories for packages to prevent these kind of installation errors ?
 
2) which changes regarding dependency checks have been put into rpm 5.0.3 ?
 
Running this example with rpm-5.0.2 does not report any error.
 
Thx,
Stefan
> RPM 5.0.3 was released.> This is a maintenance release.> Find it under http://rpm5.org/files/rpm/rpm-5.0/> > Ralf S. Engelschall> rse@engelschall.com> www.engelschall.com> > ______________________________________________________________________> RPM Package Manager http://rpm5.org> Developer Communication List rpm-devel@rpm5.org
Received on Tue Mar 4 12:01:45 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.