On Fri, Apr 29, 2022 at 11:28 AM Germano Massullo <germano.massullo@xxxxxxxxx> wrote:
Recent CentOS Stream Qt update broke some EPEL packages like keepassxc
that needed a rebuild against the new Qt version.
Can we talk about a way to prevent this from happening again?
Best regards
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
If you let rpmbuild figure out the dependencies (which it is already doing fairly well), then it will know when there is a real ABI change and you need to rebuild the package.
Looking at "dnf repoquery --requires keepassxc | grep -i qt"
and then looking at the changes that happened in qt5, it looks like it wouldn't have needed a rebuild if the Requires wasn't manually set.
I'm not saying rpmbuild is 100% perfect for figuring out requires, but in this case it was doing it right.
Troy
_______________________________________________ epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure