pmatilai left a comment (rpm-software-management/rpm#2760)
Hmm so, we can't really go and change the C level tags to point to another
type.
What we could do, in that department, is rename the old tags to SHORTFOO: this
will preserve functionality for existing binaries, but when recompiling, you're
forced to adopt. Which is okay - silent breakage isn't.
The gotcha with this is that Python and queryformat need to resolve from name
to a tag. Perhaps it'd be enough to have rpmTagGetValue() to know about these
SIZE's meaning the LONG version - for Python and cli the type change is not an
issue.
But of course a C client could also be using rpmTagGetValue() to determine the
tag and be unpleasantly surprised when they get a different type...
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2760#issuecomment-2912515677
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2760/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
https://lists.rpm.org/mailman/listinfo/rpm-maint