[SCM] ffado/master: Add Breaks: to ffado-tools.

Adrian Knoth adi at drcomp.erfurt.thur.de
Mon Sep 27 22:16:01 UTC 2010


On Tue, Sep 28, 2010 at 12:00:29AM +0200, Jonas Smedegaard wrote:
> On Mon, Sep 27, 2010 at 09:43:38PM +0000, adiknoth-guest at users.alioth.debian.org wrote:

>>    Add Breaks: to ffado-tools.
>>
>>    According to policy 7.6.1, Breaks is required to inform the package
>>    manager to remove older packages upon upgrades.
>>
>>    This hopefully does the trick.
>>
>> diff --git a/debian/control.in b/debian/control.in
>> index e635883..94df4d1 100644
>> --- a/debian/control.in
>> +++ b/debian/control.in
>> @@ -66,6 +66,8 @@ Depends: libffado2 (= ${binary:Version}),
>>  ${shlibs:Depends}
>> Replaces: ffado-mixer-qt4 (<< 2.0.1+svn1856-2~),
>>  ffado-python-support (<= 2.0.1+svn1856-2)
>> +Breaks: ffado-mixer-qt4 (<< 2.0.1+svn1856-2~),
>> + ffado-python-support (<= 2.0.1+svn1856-2)
>
> I believe Breaks should be used _instead_ of Replaces to have its  
> intended benefit.

Don't we have exactly the example as mentioned in

   <http://www.debian.org/doc/debian-policy/ch-relationships.html#s7.6.1>?


Just my €0.02

-- 
mail: adi at thur.de  	http://adi.thur.de	PGP/GPG: key via keyserver

cat /dev/zero > /dev/null



More information about the pkg-multimedia-maintainers mailing list