On Sun, 4 Aug 2019 at 15:01, Rex Dieter <rdieter(a)gmail.com> wrote:
Iñaki Ucar wrote:
> On Sun, 4 Aug 2019 at 01:21, Miro Hrončok <mhroncok(a)redhat.com> wrote:
>>
>> > So the question is: should I add "Obsoletes: pkg-devel <
$new_version"
>> > to pkg's SPEC? Is this a proper use of "Obsoletes"?
>>
>> Yes. Exactly a right thing to do.
>
> Thanks, Miro. Then, I suggest to add this particular case to the
> documentation. Not sure where though, but FWIW, my first search was
> "drop subpackage" and *not* the "Obsoletes" subsection.
That case should already be covered by the "replace" part of:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-re...
That's not clear to me. I read that in the first place, and I didn't
identify this case either as a rename nor a replacement. A replacement
is like bar that obsoletes foo. But here we have foo and
foo-something, and at some point the latter is dropped (and not
provided in foo).
Iñaki