chiark / gitweb /
Debian build: Add `Replaces: wiringpi' to the other packages
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 26 Sep 2015 01:21:46 +0000 (01:21 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 5 Oct 2015 13:20:49 +0000 (14:20 +0100)
This smooths the upgrade from the pre-split packages.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
debian/control

index 5943445934669f4b2d38e61dbb1a4353ed3d1b84..6430c9f848e4ee9536a376d201b5d3fab7755c41 100644 (file)
@@ -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.
 
  --
 
index 4f511114062c516919b4c53ed9037b1a285c19ec..9bedad31ffd1a882dfb58e830b3b4ecf0228ee65 100644 (file)
@@ -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.