On 2015-10-05, Sandro Mani <manisan...@gmail.com> wrote:
> Quick upgrade path question: I intend to retire the tesseract-langpack 
> package, which provides many tesseract-langpack-$lang subpackages,

It does not matter whether a (sub-)package is produced by building
one source package or another. Neither rpm nor dnf uses this information.

> and instead have the main tesseract package to provide these, with the
> same name.

Provide what? Export Provides: tesseract-langpack-$lang RPM symbol in
another binary package, or build tesseract-langpack-$lang sub-package
from another source package?

In the first case you should add Obsoletes into the another binary
package, otherwise the old tesseract-langpack-$lang binary packages
remain insalled on a system.

In the second case you don't have to add Obsoletes because the there
the old tesseract-langpack-$lang binary packages will be upgraded to new
tesseract-langpack-$lang binary packages because they have the same
name.

> The version of the tesseract-langpack-$lang subpackages
> increases in the process.
>
I understand this as the second case.

-- Petr

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to