-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Sat, 2017-12-02 at 09:24 +0100, Mattia Verga wrote: > 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? You need to add Obsoletes: foo < 2 - -- - -Igor Gnatenko -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAloicYMACgkQaVcUvRu8 X0ytrg//bhMER4IT9/aPe/dhAu4DYCTqzwgEOJBf+htaz2Z3FBw9gY0v72oFHRCT RTKUIx6WEKzYrVVDpran08WpctIJkCT9Z2IyEyWF971Nhs02/05Xhhrs9RLK3skn L5QB0S04zXmm2RfE6UkI8tqD+nr3mJX0ptBlO1s/HcviL8S7I5HqnPXwJjC4Ax4A v6hbHfFeC2DcMWgh1NTmsIJ41QU51zWQevjMTwE4/jYHlHNaHWxXpVr09/K21YLH YXXILiTznvuSD0mnzZwLi+h4MUBC5GogMSh+Hc6TZLhutLY0JCsdL7xO6urtyoUW 7brb9JlNWJMK7cXn0908QDoxCp7yXxGXaWBkukOehBgjfTl0kXfP42j/9FY3L7EJ laTvy7upTYTv6102IKMxYGX5ZKavW2+8Z8Clycb1x6jJVY2z76KzrCFo8t3Prklk 9lhJAdPlg8xzbX9cZBzWDB+t5JL4qcHPDXj5yATBrnNl3agktiTjhSUh4HhvQEp5 reg8iEusvTQL0yKwCElWXWCHD4MDjLq7cdU99fz/0Jq/NMilyjYodC6e4efdfSxS wO9icob3q7XDag/AxDP8KdDM13Bd4o6Jre6vQ52UEG9i01gG5Bee1z06Zt3+ZVYC PQcO4YdgPUvspThdVvhNzIYaVStESi/Kzt6xwKbS5swZaG51aag= =GOdi -----END PGP SIGNATURE----- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx