handling of symlinks to symlinks in spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Someone reported to me an issue regarding rpm and symlinks to symlinks.
I've reproduced it on Fedora 21 and 23.

Let's assume, I have a library, e.g. liblibrary.so.5.6.7 and I have
two symbolic links, so the result of "ls -l" would look like this

liblibrary.so -> liblibrary.so.0
liblibrary.so.0 -> liblibrary.so.5.6.7

and part of spec file would look like this


When running "rpm -i project1.1-Linux.rpm" it outputs a dependency
resolution error

error: Failed dependencies:
    libtest_lib.so()(64bit) is needed by project1-1.2.1-1.x86_64

Either removing library.so from spec file or setting

Autoreq: NO

in it removes the error.

Is this a bug in rpmbuild automatic dependency resolution for symlinks
to simlyinks?
Is there is something that should be set in spec file for such cases?

Rpm-list mailing list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux