From b3cca4280492a91ff0af641165e997da7ba628a9 Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Fri, 21 Oct 2022 21:02:01 +0200 Subject: [PATCH] debian/control: Make sure the drivers depend against the server version --- debian/control | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/debian/control b/debian/control index 2c4782b..d774c9d 100644 --- a/debian/control +++ b/debian/control @@ -101,9 +101,7 @@ Description: network UPS tools - web interface Package: nut-i2c Architecture: linux-any -Depends: nut (>= 2.8.0), - ${misc:Depends}, - ${shlibs:Depends} +Depends: nut-server (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: network UPS tools - I2C driver Network UPS Tools (NUT) is a client/server monitoring system that allows computers to share uninterruptible power supply (UPS) and @@ -116,7 +114,7 @@ Description: network UPS tools - I2C driver Package: nut-snmp Architecture: any -Depends: nut, ${misc:Depends}, ${shlibs:Depends} +Depends: nut-server (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: network UPS tools - SNMP driver Network UPS Tools (NUT) is a client/server monitoring system that allows computers to share uninterruptible power supply (UPS) and @@ -130,7 +128,7 @@ Description: network UPS tools - SNMP driver Package: nut-ipmi Architecture: kfreebsd-any linux-any -Depends: nut, ${misc:Depends}, ${shlibs:Depends} +Depends: nut-server (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: network UPS tools - IPMI driver Network UPS Tools (NUT) is a client/server monitoring system that allows computers to share uninterruptible power supply (UPS) and @@ -144,9 +142,7 @@ Description: network UPS tools - IPMI driver Package: nut-modbus Architecture: any -Depends: nut (>= 2.8.0), - ${misc:Depends}, - ${shlibs:Depends} +Depends: nut-server (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: network UPS tools - Modbus driver Network UPS Tools (NUT) is a client/server monitoring system that allows computers to share uninterruptible power supply (UPS) and @@ -159,7 +155,7 @@ Description: network UPS tools - Modbus driver Package: nut-xml Architecture: any -Depends: nut, ${misc:Depends}, ${shlibs:Depends} +Depends: nut-server (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: network UPS tools - XML/HTTP driver Network UPS Tools (NUT) is a client/server monitoring system that allows computers to share uninterruptible power supply (UPS) and @@ -173,7 +169,7 @@ Description: network UPS tools - XML/HTTP driver Package: nut-powerman-pdu Architecture: any -Depends: nut, +Depends: nut-server (= ${binary:Version}), powerman, ${misc:Depends}, ${shlibs:Depends}