On Wed, 2004-10-20 at 11:55 +0000, Shiva Varma wrote: > 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 rpmbuild to build not rpm in recent rpms. Note you'd use --prefix at install time rpmbuild -ba shiva-test.spec rpm -ivh --prefix /opt/varma shiva-test*rpm See http://rpm.org/max-rpm-snapshot/ch-rpm-reloc.html for a slightly dated overview of relocatable packages. For more recent book the Red Hat RPM Guide may cover relocatable packages - but you'd have to check. Paul _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list