From 48c8719ee9944948a6ab40032d71ffcd7f8455e6 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@debian.org>
Date: Sat, 26 Nov 2016 20:19:32 +0100
Subject: [PATCH] debian: Fix libxtables12 Replaces and Breaks relationships

The problem with this package and libxtables11 not being co-installable
was introduced in the first snapshot version which did not get the
SONAME bumped for the package name. But older versions should still be
co-installable as they have different SONAMES. Change the direction
of the verioned dependencies to cover this.

In addition using a >= should be safe here as long as a libxtables11
is not reintroduced.
---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index e5e2c00..0e71510 100644
--- a/debian/control
+++ b/debian/control
@@ -56,8 +56,8 @@ Architecture: linux-any
 Priority: optional
 Section: libs
 Depends: ${misc:Depends}, ${shlibs:Depends}
-Replaces: iptables (<< 1.4.16.3-3), libxtables11 (<= 1.6.0+snapshot20161117-1)
-Breaks: iptables (<< 1.4.16.3-3), libxtables11 (<= 1.6.0+snapshot20161117-1)
+Replaces: iptables (<< 1.4.16.3-3), libxtables11 (>= 1.6.0+snapshot20161117-1)
+Breaks: iptables (<< 1.4.16.3-3), libxtables11 (>= 1.6.0+snapshot20161117-1)
 Description: netfilter xtables library
  The user-space interface to the Netfilter xtables kernel framework.
 
-- 
2.11.0.rc1.160.g51e66c2

