Re: Is it possible to manually insert shared library deps in an RPM?

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

 



On 02/03/2017 09:45 AM, David Howells wrote:
> Hi,
> 
> gcc and cross-gcc currently dynamically load the isl-0.14 shared library -
> which means that rpm-build doesn't automagically detect a:
> 
> 	libisl.so.13()(64bit)
> 
> but, rather, the gcc binary rpm must include a:
> 
> 	Requires: isl = %{isl_version}
> 
> clause.
> 
> Is it possible to instead do something like:
> 
> 	Requires: libisl.so.13()(64bit)
> 
> (though this doesn't work because it complains about an illegal char) so that
> it is pegged to the major version of the library rather than the specific isl
> version?
> 
> Thanks,
> David

What's wrong with doing:

Requires: isl%{?_isa} >= %{isl_version}

Other than you'll have to be aware and deal with any eventual soname bump, of
course.


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux