do not keep the debian/source/lintian-overrides symlink in the repo:
authormirabilos <m@mirbsd.org>
Fri, 16 Feb 2018 16:15:52 +0000 (17:15 +0100)
committermirabilos <m@mirbsd.org>
Fri, 16 Feb 2018 16:15:52 +0000 (17:15 +0100)
• we only need it for buster/sid anyway
• symlinks can’t be added in source/format 1.0

debian/changelog
debian/rules
debian/source/lintian-overrides [deleted symlink]

index e7e9ee4..c760eeb 100644 (file)
@@ -2,8 +2,9 @@ jupp (3.1.35-1wtf1) wtf; urgency=low
 
   * Rebuild for my WTF APT repository, for all distributions
   * Pull the latest upstream minor bugfix commit
+  * Create the debian/source/lintian-overrides link only for sid
 
- -- Thorsten Glaser <tg@mirbsd.de>  Fri, 16 Feb 2018 17:10:26 +0100
+ -- Thorsten Glaser <tg@mirbsd.de>  Fri, 16 Feb 2018 17:15:38 +0100
 
 jupp (3.1.35-1) unstable; urgency=low
 
index 90185e0..de44181 100755 (executable)
@@ -297,6 +297,10 @@ debian/.control_stamp:
        @mkdir -p debian/source
        echo '${DSF}' >debian/source/format
        echo ${DEBHELPER_VERSION} >debian/compat
+       -rm -f debian/source/lintian-overrides
+ifeq (11,${DEBHELPER_VERSION})
+       ln -sf ../source.lintian-overrides debian/source/lintian-overrides
+endif
        ${MENU_SUBST} <debian/joe-jupp.menu.in >debian/joe-jupp.menu
        ${MENU_SUBST} <debian/jupp.menu.in >debian/jupp.menu
        sed ${SUBST_EP} ${SUBST_HP} \
@@ -317,6 +321,7 @@ debian/control:
 remove/control:
        -rm -f debian/.control_stamp debian/.gencontrol_stamp \
            debian/source/format debian/compat debian/control \
+           debian/source/lintian-overrides \
            debian/joe-jupp.menu debian/jupp.menu
 
 build: build-arch build-indep
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
deleted file mode 120000 (symlink)
index 6e052bb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../source.lintian-overrides
\ No newline at end of file