On Fri, Nov 12, 2021 at 12:49:40PM +0000, Gary Buhrmaster wrote:
On Thu, Nov 11, 2021 at 2:55 PM Miro Hrončok
<mhroncok(a)redhat.com> wrote:
>
> Hello,
>
> Since this update:
>
>
https://src.fedoraproject.org/rpms/libnsl2/c/d2e2fab5e3ab07228a34f35ab8ec...
>
> Nothing in rawhide builds, because Python and hence dnf is not installable:
>
Is it possible to automate a scan across (at least) the
"core"(*)
packages and identify those spec files that use one of the (from the
packaging guidelines) SHOULD NOT unversioned soname globs and then
have explicit major sonames added(**)? Of course such a change will
not prevent explicit bumps, but should, at a minimum, raise the bar
just a bit for accidental bumps (which is what I presume this was
when the new upstream source was submitted as an update).
This has been discussed many many times. The packaging guidelines have
been updated to say globs "SHOULD NOT" be used [1], and I think there is a
broad agreement that this is a good thing. Unfortunately many packages
still use this pattern.
I think we need a hero (or a small team of heroes) to
1. download the all-specs.tar.xz file and grep for the any spec files that have globs
2. figure out a list and propose a mass change [2]
3. apply all the changes everywhere
That last step will require provenpackager privs.
I could help a bit, esp. with the last step, if somebody wants to
do this.
[1]
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_listing_share...
[2]
https://docs.fedoraproject.org/en-US/fesco/Mass_package_changes/
Zbyszek
(*) Is there such a list of "core" libraries?
If not, that might need to be another
item on the work queue.
(**) I am presuming that most of the
unversioned soname globs in most
spec files predate the SHOULD NOT
recommendations, and cleaning that
up would be a good thing moving
forward.
Ah, right, I didn't read the footnote before writing the text above ;)