Re: Unannounced soname bump: gnome-desktop3

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

 



On Sun, Feb 18, 2018 at 10:10 PM,  <mcatanzaro@xxxxxxxxx> wrote:
>
> On Sun, Feb 18, 2018 at 1:13 PM, Yaakov Selkowitz <yselkowi@xxxxxxxxxx>
> wrote:
>>
>> gnome-desktop3 was updated a week ago to 3.27.90, which bumped ABI from
>> .so.12 to .so.17.  AFAICS no notice was given, nor am I sure that this
>> was even noticed by the maintainer, because once again:
>>
>> %{_libdir}/lib*.so.*
>>
>> I have rebuilt my affected package.
>
>
> The wildcard in the files list is particularly dangerous because GNOME
> packages are updated by a script; humans only look when there are build
> failures. And unlike most other GNOME libraries, gnome-desktop does not
> pretend to have a stable API.
>
> I've junt changed it to:
>
> %{_libdir}/libgnome-desktop-3.so.17*
>
> Belatedly, I realize that will break if the soname is ever bumped to 170.
> What is considered the best practice for this?
>

I usually use something like the following:

%global somajor 17
...
%{_libdir}/libgnome-desktop-3.so.%{somajor}{,.*}


-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
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