From 09a738279d8a11c8bd59d55570927587bbca1dcd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 26 Sep 2015 01:21:46 +0000 Subject: [PATCH] Debian build: Add `Replaces: wiringpi' to the other packages This smooths the upgrade from the pre-split packages. Signed-off-by: Ian Jackson --- debian/changelog | 2 ++ debian/control | 3 +++ 2 files changed, 5 insertions(+) diff --git a/debian/changelog b/debian/changelog index 5943445..6430c9f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,6 +20,8 @@ wiringpi (2.28~iwj1) unstable; urgency=medium wiringpi-tools, but put all the examples in /usr/share/doc/wiringpi/examples no matter which package they're in; and do not compress any of them. + * Add `Replaces: wiringpi' to the other packages, to smooth the upgrade + from the pre-split packages. -- diff --git a/debian/control b/debian/control index 4f51111..9bedad3 100644 --- a/debian/control +++ b/debian/control @@ -20,12 +20,14 @@ Package: libwiringpi2 Section: libs Architecture: armhf Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: wiringpi Description: GPIO librariees for Raspberry Pi (runtime). Runtime for the popular wiringPi library. Package: wiringpi-tools Architecture: armhf Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: wiringpi Description: gpio utility for Raspberry Pi The wiringPi gpio command line utility, for GPIO access on a Raspberry Pi from the command line. @@ -34,6 +36,7 @@ Package: libwiringpi-dev Architecture: armhf Depends: libwiringpi2 (= ${binary:Version}), libc6-dev, ${misc:Depends} Suggests: wiringpi +Replaces: wiringpi Description: GPIO development library for Raspberry Pi Development libraries to allow GPIO access on a Raspberry Pi from C and C++ programs. -- 2.30.2