hi paul, Thanks for the reply... I have problem in creating a relocatable package. i am using the following in my spec file Prefix: /usr/src/ %files /usr/src/redhat/SOURCES now if i issue the command rpm -ba --prefix /opt/varma shiva_test.spec i am not getting any output, what is the possible problem Thanks in advance Shiva On Wed, 20 Oct 2004 Paul Nasrat wrote : >On Wed, 2004-10-20 at 09:47 +0000, Shiva Varma wrote: > > > Prefix: /usr/src > > > > In the files list i have mentioned the files > > %files > > /usr/src/redhat/sources/test > > /home/varma/test1 > > > > Ideally i should get an error message since /home/varma does not match prefix. > > > However i am not getting any error message and the package is getting build properly. > > > > Any clues what the problem could be.... > >RPM does not force everything under prefix for relocatable packages > >Prefix is a hint to the person that is installing the package that >relocation is supported, it is not used by rpmbuild for enforcement of >file paths. > >Paul >
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list