chiark / gitweb /
Debian build: Do not install COPYING.LESSER
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 26 Sep 2015 01:15:24 +0000 (01:15 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 5 Oct 2015 13:20:49 +0000 (14:20 +0100)
This is redundant on a Debian derivative (which will have
/usr/share/common-licences).

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

index d2326202adf6d472338cbc271bb245c8ca77207e..1302acce8afa61e095c1c5c5d29eb85134dc4299 100644 (file)
@@ -14,6 +14,8 @@ wiringpi (2.28~iwj1) unstable; urgency=medium
   * Remove -lm from gpio link line.  It is not used, and I'm told that
     introducing it as a dependency is not desirable.  Not linking with -lm
     will ensure that we detect such mistakes.
+  * Do not install COPYING.LESSER, which is redundant on a Debian
+    derivative (which will have /usr/share/common-licences).
 
  --
 
index 53337619c46a12bfd1644fc3290c831a62ecf361..af017e4b4189479af9021037f28c65c8ca44a997 100755 (executable)
@@ -39,7 +39,7 @@ override_dh_auto_build: dirs
 override_dh_auto_install:
 
 override_dh_install:
-       dh_install
+       dh_install -X COPYING.LESSER
        set -ex; for l in libwiringPi libwiringPiDev; do \
                ln -sf $$l.so.$${VERSION} \
                        debian/libwiringpi$$soname/usr/lib/$$l.so.$$soname; \