Il 01/12/2017 20:20, Philip Kovacs ha scritto:
If I have version 1 of package foo, containing items bar, xxx, yyy,
zzz, i.e.
foo-1
-----
bar
xxx
yyy
zzz
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 bar
yyy
zzz
with foo-bar permanently requiring foo going forward. How does one
structure the
Obsoletes/Requires such that foo-2 pulls in foo-bar-2 only once,
during the upgrade
from 1 to 2?
What is the best practice for this?
I think that if foo-bar-2 is not strictly required by foo-2 to work, you
can make "foo-2 Obsoletes: foo-1" and then put a weak dependency to
foo-bar-2 "foo-2 Recommends: foo-bar-2".
Mattia
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org