Le vendredi 12 juin 2020 à 19:31 +0200, josef radinger a écrit :
Hi,
we have
X-1
X-a-1 (dependent on X and Y)
X-b-1 (dependent on X)
now the dependency Y is removed from rawhide and i create a new
version
2 of package X without the dependency on Y and thus no subpackage X-
a-
1.
now we have:
X-2 (which obsoletes X-a-1)
X-b-2
With that structure you do not need fedora-obsolete-packages since
X ≥ 2 will eat X-a < 2. However, you may need a provides X-a in X ≥ 2
if something in the dependency graph depends on X-a < 2 (dnf repoquery
may help you identify those). However, if X ≥ 2 does not actually
provide the things dependants expect in X-a the provides will do more
harm than good.
Those rules are independant of the fedora release and will work the
same in devel and in previous releases.
Beware of people who request application of rpmlint messages without
understanding their meaning will want you to add the provides even when
the provide part is not actually provided in the new version.
Regards,
--
Nicolas Mailhot