>I have the following problem with building a relocatable RPM package: >even if I specify AutoReqProv: no in spec file, it generates >dependency >on /bin/sh (probably due to my package includes some shell scripts), >which is not available as I install my package using a private RPM >database, like: > > > > rpm -i --dbpath /home/akazarov/releases/testRPMinst/RPMDB >--prefix=/home/akazarov/releases/testRPMinst >/usr/src/redhat/RPMS/i386/LCG-43a-0.i386.rpm >error: Failed dependencies: > /bin/sh is needed by LCG-43a-0 > Suggested resolutions: > bash-2.05b-41.4.i386.rpm > >The rest of dependencies (on system DLLs) are not there, as >desired, but this /bin/sh is ... the /bin/sh is there because something has to run your package scripts on install. you simply have to push this into your private database. make an otherwise empty package that "Provides: /bin/sh" and install that before you get started. _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list