Followup-For: Bug #708497

Hi,

I uploaded a fixed package to DELAYED/5, diff attached.

I had to change quite a bit debhelperwise to get a package with the same
content as previously, only the info documentation is missing.

If the current package weren't uninstallable after a wheezy->jessie
update, I wouldn't have looked into fixing this issue.


Andreas
diff -u opt-3.19/debian/changelog opt-3.19/debian/changelog
--- opt-3.19/debian/changelog
+++ opt-3.19/debian/changelog
@@ -1,3 +1,13 @@
+opt (3.19-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Get rid of install-info calls in maintainer scripts.  (Closes: #708497)
+  * Switch to debhelper 9.
+  * Add info-dir-section.  (Closes: #528883)
+  * Note that the upstream URL is no longer available.  (Closes: #624415)
+
+ -- Andreas Beckmann <a...@debian.org>  Sat, 18 Jan 2014 18:15:04 +0100
+
 opt (3.19-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u opt-3.19/debian/copyright opt-3.19/debian/copyright
--- opt-3.19/debian/copyright
+++ opt-3.19/debian/copyright
@@ -2,6 +2,7 @@
 Patrick Ouellette poue...@debian.org on Wed, 22 Jul 1998 08:59:47 -0400.
 
 It was downloaded from http://nis-www.lanl.gov/~jt/Software/opt/
+As of 2011-04-28 the URL is no longer available.
 
 Copyright:
 
diff -u opt-3.19/debian/rules opt-3.19/debian/rules
--- opt-3.19/debian/rules
+++ opt-3.19/debian/rules
@@ -38,29 +38,22 @@
 
 binary-arch: checkroot build
 	$(checkdir)
-	-rm -rf debian/tmp `find debian/* -type d`
-	install -d debian/tmp
-	cd debian/tmp && install -d `cat ../dirs`
-	cp test/*.c debian/tmp/usr/share/doc/opt/examples
-
 	$(MAKE) install prefix=`pwd`/debian/tmp/usr
 
-	mv debian/tmp/usr/info debian/tmp/usr/share/info
-
+	dh_install -v 
 	dh_installdocs -v README
 	dh_installexamples -v
 	dh_installmenu -v
 	dh_installcron -v
-	dh_installmanpages -v
+	dh_installman -v
 	dh_installchangelogs -v ChangeLog
-	dh_movefiles -v 
 	dh_strip -v
 	dh_compress -v
 	dh_fixperms -v
 	dh_installdeb -v
 	dh_shlibdeps -v
 	dh_gencontrol -v
-#	dh_makeshlibs -v
+	dh_makeshlibs -v
 	dh_md5sums -v
 	dh_builddeb -v
 
diff -u opt-3.19/debian/control opt-3.19/debian/control
--- opt-3.19/debian/control
+++ opt-3.19/debian/control
@@ -2,14 +2,12 @@
 Section: devel
 Priority: optional
 Maintainer: Patrick Ouellette <poue...@debian.org>
-Build-Depends: debhelper
+Build-Depends: debhelper (>= 9)
 Standards-Version: 3.6.1
 
 Package: opt
 Architecture: any
-Depends:
-Provides: 
-Conflicts: 
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Options Parsing Tool library
  opt is a subroutine library which facilitates the convenient input
  of parameters to a C program. Parameters are parsed from a command
diff -u opt-3.19/debian/prerm opt-3.19/debian/prerm
--- opt-3.19/debian/prerm
+++ opt-3.19/debian/prerm
@@ -2,5 +2,4 @@
-#
-install-info --quiet --remove opt
+set -e
+# dummy empty prerm to ensure clean upgrades after install-info is gone
 
 #DEBHELPER#
-
reverted:
--- opt-3.19/debian/postinst
+++ opt-3.19.orig/debian/postinst
@@ -1,11 +0,0 @@
-#!/bin/sh
-#
-# post install process for OPT
-#
-# 30 Jul 1998 P.A. Ouellette <poue...@debian.org>
-#
-set -e
-install-info --quiet --section development opt --description="Opt - options and parameter subroutine library"  /usr/share/info/opt.info.gz
-
-#DEBHELPER#
-
only in patch2:
unchanged:
--- opt-3.19.orig/debian/compat
+++ opt-3.19/debian/compat
@@ -0,0 +1 @@
+9
only in patch2:
unchanged:
--- opt-3.19.orig/debian/examples
+++ opt-3.19/debian/examples
@@ -0,0 +1 @@
+test/*.c
only in patch2:
unchanged:
--- opt-3.19.orig/debian/install
+++ opt-3.19/debian/install
@@ -0,0 +1,2 @@
+usr/include/opt.h
+usr/lib/libopt.a
only in patch2:
unchanged:
--- opt-3.19.orig/opt.texi
+++ opt-3.19/opt.texi
@@ -7,12 +7,10 @@
 
 @include version.texi
 
-@ignore
-%** @dircategory Miscellaneous
-%** @direntry
-%** * opt: (opt).                           An option/parameter parsing library
-%** @end direntry
-@end ignore
+@dircategory Development
+@direntry
+* opt: (opt).                           An option/parameter parsing library
+@end direntry
 
 @ifinfo
 This document describes @code{opt}, v@value{VERSION}, a 

Reply via email to