On 9/7/23 11:40, Dominik 'Rathann' Mierzejewski wrote:
On Thursday, 07 September 2023 at 11:13, František Šumšal wrote:
Hello,

I plan to bump libtommath to 1.2.1 in Rawhide, which bumps the respective 
shared library to libtommath.so.1.2.1. According to repoquery all dependencies 
depend only on libtommath.1, so no rebuild should be necessary:

$ dnf repoquery --releasever rawhide --whatrequires 'libtommath.so.*'
Last metadata expiration check: 0:20:29 ago on Thu Sep  7 10:34:05 2023.
dropbear-0:2022.82-3.fc39.x86_64
firebird-0:4.0.3.2975-1.fc39.x86_64
libfbclient2-0:4.0.3.2975-1.fc39.i686
libfbclient2-0:4.0.3.2975-1.fc39.x86_64
libtomcrypt-0:1.18.2-17.fc39.i686
libtomcrypt-0:1.18.2-17.fc39.x86_64
libtommath-devel-0:1.2.0-13.fc40.i686
libtommath-devel-0:1.2.0-13.fc40.x86_64
moarvm-0:2023.06-1.fc39.i686
moarvm-0:2023.06-1.fc39.x86_64

$ dnf repoquery --releasever rawhide --whatrequires 'libtommath.so.1.*'
Last metadata expiration check: 0:21:06 ago on Thu Sep  7 10:34:05 2023.
<...no results...>

Please correct me if I'm missing something.

Your first step should be checking for any ABI changes using abipkgdiff
and rpmsodiff. Only if there are removed symbols do you need to worry
about rebuilding consumers. However, added unversioned symbols do mean
that backwards compatibility is not preserved (i.e. an application built
against a newer version, say 1.2.1, might not work with 1.2.0 installed
if it depends on a symbol introduced in 1.2.1).

Thanks for the pointers, much appreciated!

Both abipkgdiff and rpmsodiff seem to be happy, i.e. there were no
added/changed/removed symbols between 1.2.0 and 1.2.1, so the bump
should be safe.

Cheers,
Frantisek
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to