If I have version 1 of package foo, containing items bar, xxx, yyy, zzz, i.e.
foo-1-----barxxxyyyzzz
and, for version 2, bar is split off to its own sub-package, foo-bar, so that the desired packaging becomes:
foo-2 foo-bar-2----- ---------xxx baryyyzzz
with foo-bar permanently requiring foo going forward. How does one structure theObsoletes/Requires such that foo-2 pulls in foo-bar-2 only once, during the upgradefrom 1 to 2?
What is the best practice for this?
TIA
Philip