[Yum] I _need_ a way to ignore dependencies in my rpm script.
seth vidal
skvidal at fedoraproject.org
Mon Oct 20 20:34:17 UTC 2008
On Mon, 2008-10-20 at 12:09 -0600, Jennis Pruett wrote:
> Hi All,
>
> I have an rpm script that used to use
> AutoReq: 0
> AutoReqProv: 0
> to ignore meaningless dependencies.
>
> I know I do NOT need the dependencies that are listed, and I
> have to get this rpm build for a system install.
>
> I know the whole idea is to address dependencies, but sometimes
> there are exceptions to the rule.
>
> Anyone able to tell me how this can be done *within the rpm build script*?
>
> I know about the --nodeps, yes, and that is not an option.
> It's too complicated to go into.
>
> rpm -ivh --test
> RPMS/yr-fe1.lanl.gov/idl-7.0.unix-7.0.unix.ptools1.RHEL4.x86_64.rpm
>
> error: Failed dependencies:
> libclntsh.so is needed by idl-7.0.unix-7.0-unix.x86_64
> libivicu20.so is needed by idl-7.0.unix-7.0-unix.x86_64
> libjawt.so()(64bit) is needed by idl-7.0.unix-7.0-unix.x86_64
> libprocli92.so is needed by idl-7.0.unix-7.0-unix.x86_64
>
> Direct mail would be very much appreciated, but I'll
>
> monitor the email for a while.
Did you build the package with AutoReqProv: 0 and AutoReq: 0 in
the .spec file?
If so you shouldn't be seeing those deps from that pkg.
also - this isn't really a yum-related issue. Have you seen
rpm-list at rpm.org?
-sv
More information about the Yum
mailing list