swap order of json libraries in debian package
authorMatthew Newton <mcn4@leicester.ac.uk>
Wed, 30 Sep 2015 19:57:31 +0000 (20:57 +0100)
committerMatthew Newton <mcn4@leicester.ac.uk>
Wed, 30 Sep 2015 19:57:31 +0000 (20:57 +0100)
Building using sbuild for debian wheezy fails because libjson-c2 does not exist
in wheezy and apt dependency checking seems to short circuit the or.

Swapping around means building works on wheezy sbuild. It doesn't affect
jessie/stretch/sid because libjson0 exists as a transitional package just
pulling in libjson-c2 anyway.

debian/control

index 3e34058..913bda7 100644 (file)
@@ -7,8 +7,8 @@ Build-Depends: debhelper (>= 9),
  libcap-dev,
  libgdbm-dev,
  libiodbc2-dev,
- libjson-c2 | libjson0,
- libjson-c-dev | libjson0-dev,
+ libjson0 | libjson-c2,
+ libjson0-dev | libjson-c-dev,
  libkrb5-dev,
  libldap2-dev,
  libpam0g-dev,