On Wed, Jul 26, 2023 at 5:32 PM Jason L Tibbitts III <j@xxxxxx> wrote: > > >>>>> Gary Buhrmaster <gary.buhrmaster@xxxxxxxxx> writes: > > > I have found that using something like libfoo.so.X{,.*} in the %files > > directive can be a useful reminder (enforcer) to reduce such surprises > > (that particular glob presumes semantic versioning, and that minor and > > patch level updates do not require rebuilds, but that is true much of > > the time). > > In fact, excessively wide globbing here is explicitly discouraged by the > packaging guidelines: > https://docs.fedoraproject.org/en-US/packaging-guidelines/#_listing_shared_library_files > > Looking at the current spec, it uses "%{_libdir}/*.so.*"; had it > followed this guideline, I believe this issue would not have occurred. I agree, fixed: https://src.fedoraproject.org/rpms/libotf/c/0ccd534c?branch=rawhide -- Michal Schorm Software Engineer Core Services - Databases Team Red Hat -- On Wed, Jul 26, 2023 at 5:32 PM Jason L Tibbitts III <j@xxxxxx> wrote: > > >>>>> Gary Buhrmaster <gary.buhrmaster@xxxxxxxxx> writes: > > > I have found that using something like libfoo.so.X{,.*} in the %files > > directive can be a useful reminder (enforcer) to reduce such surprises > > (that particular glob presumes semantic versioning, and that minor and > > patch level updates do not require rebuilds, but that is true much of > > the time). > > In fact, excessively wide globbing here is explicitly discouraged by the > packaging guidelines: > https://docs.fedoraproject.org/en-US/packaging-guidelines/#_listing_shared_library_files > > Looking at the current spec, it uses "%{_libdir}/*.so.*"; had it > followed this guideline, I believe this issue would not have occurred. > > - J< > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to 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/devel@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to 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/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue