On 2023-08-29 16:40, Takashi Yano via Cygwin-apps wrote:
If the main package no longer provides a sub package,
what is the correct manner to obsolete it?

OBSOLETES=sub_pkg

or

pkg_OBSOLETES="sub_pkg1 sub_pkg2 ..."

Creating empty sub package with
sub_package_CATEGORY="_obsolete"
is correct?

That's more appropriate for a rename/replace e.g.

old_pkg_CATEGORY=_obsolete
old_pkg_SUMMARY="obsolete name for libpkg-devel"
old_pkg_CONTENTS= # empty
old_pkg_REQUIRES=libpkg-devel

Or just deleting the sub package?

How would you do that?
Not producing it leaves the old release around.

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                -- Antoine de Saint-Exupéry

Reply via email to