On Tue, Sep 28, 2010 at 12:16:01AM +0200, Adrian Knoth wrote:
On Tue, Sep 28, 2010 at 12:00:29AM +0200, Jonas Smedegaard wrote:
On Mon, Sep 27, 2010 at 09:43:38PM +0000, 
adiknoth-gu...@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>?

Oh, forget my comment: I was wrongly reading it as a combination of Breaks and Conflicts. Breaks and Replaces go well together.

We had a lousy premiere here in Budapest where I am at currently, and some drinks afterwards. I will get some sleep now instead of trying to think straight.

 - Jonas

--
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to