[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#647473: patch for Piuparts failure



tags: patch

Patch attached, to fix Piuparts failure, and to quiet lintian errors.


The package is also uploaded to mentors:

    http://mentors.debian.net/package/sgml-data
    http://mentors.debian.net/debian/pool/main/s/sgml-data/sgml-data_2.0.7.dsc
diff -ur sgml-data-2.0.6.orig/debian/changelog sgml-data-2.0.7/debian/changelog
--- sgml-data-2.0.6.orig/debian/changelog	2011-11-02 22:14:48.124000413 -0400
+++ sgml-data-2.0.7/debian/changelog	2011-11-02 22:36:55.887998903 -0400
@@ -1,3 +1,11 @@
+sgml-data (2.0.7) unstable; urgency=low
+
+  * QA upload.
+  * fix piuparts failure #647473
+  * Lintian fixes
+
+ -- David Steele <daves@users.sourceforge.net>  Tue, 01 Nov 2011 22:30:09 -0400
+
 sgml-data (2.0.6) unstable; urgency=low
 
   * QA upload.
diff -ur sgml-data-2.0.6.orig/debian/control sgml-data-2.0.7/debian/control
--- sgml-data-2.0.6.orig/debian/control	2011-11-02 22:14:48.124000413 -0400
+++ sgml-data-2.0.7/debian/control	2011-11-02 22:22:33.715998883 -0400
@@ -2,7 +2,7 @@
 Section: text
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Standards-Version: 3.8.3
+Standards-Version: 3.9.2
 Build-Depends: debhelper (>= 5.0.0)
 Build-Depends-Indep: xml-core (>= 0.06)
 
diff -ur sgml-data-2.0.6.orig/debian/postrm sgml-data-2.0.7/debian/postrm
--- sgml-data-2.0.6.orig/debian/postrm	2011-11-02 22:14:48.124000413 -0400
+++ sgml-data-2.0.7/debian/postrm	2011-11-02 22:16:27.312000538 -0400
@@ -4,8 +4,14 @@
 
 if [ "$1" = "purge" ]
 then
-    rmdir -p --ignore-fail-on-non-empty /etc/sgml
-    rmdir -p --ignore-fail-on-non-empty /etc/xml
+    rmdir -p --ignore-fail-on-non-empty /etc/sgml || :
+    rmdir -p --ignore-fail-on-non-empty /etc/xml || :
+fi
+
+if [ "$1" = "remove" ]
+then
+    rm -f /etc/xml/sgml-data.xml* || :
+    rm -f /etc/sgml/sgml-data* || :
 fi
 
 # automatically generated debhelper commands
diff -ur sgml-data-2.0.6.orig/debian/rules sgml-data-2.0.7/debian/rules
--- sgml-data-2.0.6.orig/debian/rules	2011-11-02 22:14:48.124000413 -0400
+++ sgml-data-2.0.7/debian/rules	2011-11-02 22:25:38.843993438 -0400
@@ -25,6 +25,9 @@
 build:
 #	nothing to be done
 
+build-arch: build
+build-indep: build
+
 clean:
 	$(checkdir)
 	find . -name '*.bak' -o -name '*~' | xargs rm -f

Reply to: