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 - 11:38:01 CET
Message-ID: <BAY115-W24E91140A0F156A7C379BF98100@phx.gbl>

Hi,
 
while installing rpm-5.0.3 and testing it in my environment I found a different behaviour compared to rpm-5.0.2
regarding handling of dependency check during installation of packages.
 
An example should demonstrate this. A package base-bin define the following directory structure /imp to be
included 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 11:40:06 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.