Control: tags 897675 + patch
Control: tags 897675 + pending

Dear maintainer,

I've prepared an NMU for libtcd (versioned as 2.2.2-2.1) and
uploaded it to DELAYED/15. Please feel free to tell me if I
should delay it longer.

Regards,
Boyuan Yang

diff -u libtcd-2.2.2/debian/changelog libtcd-2.2.2/debian/changelog
--- libtcd-2.2.2/debian/changelog
+++ libtcd-2.2.2/debian/changelog
@@ -1,3 +1,24 @@
+libtcd (2.2.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/control: Make libtcd-dev dependency to be using
+    ${binary:Version} instead of ${source:Version}.
+    (Closes: #897675)
+  * debian/control:
+    + Let libtcd-dev depends on ${misc:Depends}.
+    + Replace Priority: extra with Priority: optional.
+  * debian/*.ex: Removed, useless. (lintian warning)
+  * debian/dirs: Removed, useless.
+  * debian/postinst,postrm: Empty scripts, removed.
+  * debian/libtcd0.dirs: Removed, useless.
+  * debian/rules:
+    + Replace deprecated dh_clean -k with dh_prep.
+    + Add missing recommended target build-arch and build-indep.
+  * debian/source/format: Explicitly use "1.0" format.
+  * debian/libtcd-dev.install: Do not install .la file.
+
+ -- Boyuan Yang <by...@debian.org>  Sun, 08 Sep 2019 14:24:19 -0400
+
 libtcd (2.2.2-2) unstable; urgency=medium
 
   * debian/compat from 5 to 9
diff -u libtcd-2.2.2/debian/control libtcd-2.2.2/debian/control
--- libtcd-2.2.2/debian/control
+++ libtcd-2.2.2/debian/control
@@ -1,5 +1,5 @@
 Source: libtcd
-Priority: extra
+Priority: optional
 Maintainer: Peter S Galbraith <p...@debian.org>
 Build-Depends: debhelper (>= 5), dh-autoreconf
 Standards-Version: 3.9.8
@@ -8,7 +8,7 @@
 Package: libtcd-dev
 Section: libdevel
 Architecture: any
-Depends: libtcd0 (= ${source:Version})
+Depends: libtcd0 (= ${binary:Version}), ${misc:Depends}
 Description: Tide Constituent Database (TCD) library (header file)
  libtcd provides a software API for reading and writing Tide Constituent
  Database (TCD) files.
reverted:
--- libtcd-2.2.2/debian/dirs
+++ libtcd-2.2.2.orig/debian/dirs
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin
reverted:
--- libtcd-2.2.2/debian/libtcd-default.ex
+++ libtcd-2.2.2.orig/debian/libtcd-default.ex
@@ -1,10 +0,0 @@
-# Defaults for libtcd initscript
-# sourced by /etc/init.d/libtcd
-# installed at /etc/default/libtcd by the maintainer scripts
-
-#
-# This is a POSIX shell fragment
-#
-
-# Additional options that are passed to the Daemon.
-DAEMON_OPTS=""
diff -u libtcd-2.2.2/debian/libtcd-dev.install libtcd-2.2.2/debian/libtcd-
dev.install
--- libtcd-2.2.2/debian/libtcd-dev.install
+++ libtcd-2.2.2/debian/libtcd-dev.install
@@ -4 +3,0 @@
-debian/tmp/usr/lib/*.la
reverted:
--- libtcd-2.2.2/debian/libtcd.doc-base.EX
+++ libtcd-2.2.2.orig/debian/libtcd.doc-base.EX
@@ -1,22 +0,0 @@
-Document: libtcd
-Title: Debian libtcd Manual
-Author: <insert document author here>
-Abstract: This manual describes what libtcd is
- and how it can be used to
- manage online manuals on Debian systems.
-Section: unknown
-
-Format: debiandoc-sgml
-Files: /usr/share/doc/libtcd/libtcd.sgml.gz
-
-Format: postscript
-Files: /usr/share/doc/libtcd/libtcd.ps.gz
-
-Format: text
-Files: /usr/share/doc/libtcd/libtcd.text.gz
-
-Format: HTML
-Index: /usr/share/doc/libtcd/html/index.html
-Files: /usr/share/doc/libtcd/html/*.html
-
-  
reverted:
--- libtcd-2.2.2/debian/libtcd0.dirs
+++ libtcd-2.2.2.orig/debian/libtcd0.dirs
@@ -1 +0,0 @@
-usr/lib
reverted:
--- libtcd-2.2.2/debian/postinst
+++ libtcd-2.2.2.orig/debian/postinst
@@ -1,41 +0,0 @@
-#!/bin/sh
-# postinst script for libtcd
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    configure)
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
reverted:
--- libtcd-2.2.2/debian/postrm
+++ libtcd-2.2.2.orig/debian/postrm
@@ -1,39 +0,0 @@
-#!/bin/sh
-# postrm script for libtcd
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postrm> `remove'
-#        * <postrm> `purge'
-#        * <old-postrm> `upgrade' <new-version>
-#        * <new-postrm> `failed-upgrade' <old-version>
-#        * <new-postrm> `abort-install'
-#        * <new-postrm> `abort-install' <old-version>
-#        * <new-postrm> `abort-upgrade' <old-version>
-#        * <disappearer's-postrm> `disappear' <overwriter>
-#          <overwriter-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    purge|remove|upgrade|failed-upgrade|abort-install|abort-
upgrade|disappear)
-    ;;
-
-    *)
-        echo "postrm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff -u libtcd-2.2.2/debian/rules libtcd-2.2.2/debian/rules
--- libtcd-2.2.2/debian/rules
+++ libtcd-2.2.2/debian/rules
@@ -40,7 +40,12 @@
        ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)
--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
 
-build: build-stamp
+build: build-arch build-indep
+
+build-arch: build-stamp
+
+build-indep: build-stamp
+
 build-stamp:  config.status
        dh_testdir
 
@@ -62,7 +67,7 @@
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k 
+       dh_prep
        dh_installdirs
 
        # Add here commands to install the package into debian/tmp
only in patch2:
unchanged:
--- libtcd-2.2.2.orig/debian/source/format
+++ libtcd-2.2.2/debian/source/format
@@ -0,0 +1 @@
+1.0

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to