[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: some package splits



On Tue, 2008-01-29 at 09:04 -0500, Matthias Clasen wrote:
> Last night I built a new evince, and since evince backends are modular
> now, I've split off the dvi and djvu backends as subpackages, evince-dvi
> and evince-djvu. This allows us to avoid the extra dependencies on the
> live cd that those backends would drag in. I've made the new subpackages
> installed by default in comps, but you may have to manually install them
> if you are updating from an older version of evince. 

How about the following to let this get handled by obsoletes ($version
== (e-)v-r where you introduced the split).

[...]
Obsoletes: evince < $version
Conflicts: evince < $version
[...]
%package dvi
Obsoletes: evince < $version
Conflicts: evince < $version
[...]
%package djvu
Obsoletes: evince < $version
Conflicts: evince < $version
[...]

This way, an existing old version of evince will get replaced by the
triplet evince, evince-dvi and evince-djvu but new installations won't
be affected --> no need for mentioning in the release ntoes.

Nils
-- 
     Nils Philippsen    /    Red Hat    /    nphilipp redhat com
"Those who would give up Essential Liberty to purchase a little Temporary
 Safety, deserve neither Liberty nor Safety."  --  B. Franklin, 1759
 PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]