Followup-For: Bug #708488

Hi,
I just uploaded a NMU to DELAYED/5 that removes the install-info.
Please let me know if I should delay it longer.

A fixed bison++ package is required to be included in jessie since the
current wheezy package fails to remove after a wheezy->jessie upgrade.


Andreas
diff -u bison++-1.21.11/debian/prerm bison++-1.21.11/debian/prerm
--- bison++-1.21.11/debian/prerm
+++ bison++-1.21.11/debian/prerm
@@ -3,7 +3,6 @@
 
 case "$1" in
 	remove|purge)
-		/usr/sbin/install-info --quiet --remove /usr/share/info/bison.info
         	update-alternatives --remove yacc /usr/bin/bison++.yacc
 	;;
 esac
diff -u bison++-1.21.11/debian/rules bison++-1.21.11/debian/rules
--- bison++-1.21.11/debian/rules
+++ bison++-1.21.11/debian/rules
@@ -45,6 +45,7 @@
 
 	# Add here commands to install the package into debian/bison++.
 	$(MAKE) install prefix=$(CURDIR)/debian/bison++/usr
+	$(RM) $(CURDIR)/debian/bison++/usr/share/info/dir
 	mkdir $(CURDIR)/debian/bison++/usr/share/doc
 	mkdir $(CURDIR)/debian/bison++/usr/share/doc/bison++
 	cp -r Example $(CURDIR)/debian/bison++/usr/share/doc/bison++/
diff -u bison++-1.21.11/debian/changelog bison++-1.21.11/debian/changelog
--- bison++-1.21.11/debian/changelog
+++ bison++-1.21.11/debian/changelog
@@ -1,3 +1,10 @@
+bison++ (1.21.11-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Get rid of install-info calls in maintainer scripts.  (Closes: #708488)
+
+ -- Andreas Beckmann <a...@debian.org>  Sat, 18 Jan 2014 19:41:03 +0100
+
 bison++ (1.21.11-3) unstable; urgency=low
 
   * Acknowledge NMU. Thanks!
diff -u bison++-1.21.11/debian/postinst bison++-1.21.11/debian/postinst
--- bison++-1.21.11/debian/postinst
+++ bison++-1.21.11/debian/postinst
@@ -6,10 +6 @@
-case "$1" in
-	configure|upgrade)
-		/usr/sbin/install-info --quiet --section Development Development\
-			/usr/share/info/bison.info
-	;;
-esac
-
 #DEBHELPER#
-
-

Reply via email to