NMU Diff attached.
diff -u rubber-1.1/debian/control rubber-1.1/debian/control
--- rubber-1.1/debian/control
+++ rubber-1.1/debian/control
@@ -4,13 +4,16 @@
 Maintainer: Emmanuel Beffara <[EMAIL PROTECTED]>
 Uploaders: Baruch Even <[EMAIL PROTECTED]>
 Build-Depends: debhelper (>= 5.0.37.2)
-Build-Depends-Indep: python, texinfo
-Standards-Version: 3.7.2
+Build-Depends-Indep: python, texinfo, python-support (>=0.5.3)
+XB-Python-Version: all
+Standards-Version: 3.8.0
+Homepage: http://www.pps.jussieu.fr/~beffara/soft/rubber/
 
 Package: rubber
 Architecture: all
-Depends: python, texlive-latex-base | tetex-bin
+Depends: ${python:Depends}, texlive-latex-base | tetex-bin
 Suggests: imagemagick, transfig, sam2p
+XB-Python-Version: ${python:Versions}
 Description: an automated system for building LaTeX documents
  This is a building system for LaTeX documents. It is based on a routine that
  runs just as many compilations as necessary. The module system provides a
@@ -23,2 +26 @@
- .
- Homepage: http://www.pps.jussieu.fr/~beffara/soft/rubber/
+
diff -u rubber-1.1/debian/rules rubber-1.1/debian/rules
--- rubber-1.1/debian/rules
+++ rubber-1.1/debian/rules
@@ -33,6 +33,7 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
+	dh_pysupport
 	dh_installdocs
 	dh_installman
 	dh_installinfo doc/rubber.info
diff -u rubber-1.1/debian/changelog rubber-1.1/debian/changelog
--- rubber-1.1/debian/changelog
+++ rubber-1.1/debian/changelog
@@ -1,3 +1,21 @@
+rubber (1.1-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Incorporate Ubuntu changes to remove byte compiled (.pyc) files
+    (Closes: #492731)
+    - debian/control
+      + Add python-support depends
+      + Add XS/XB-Python-Version
+    - debian/rules
+      + add call to dh_pysupport
+      + change install target to delete the pyc before packaging
+  * Update standards version to 3.8.0
+    - Move hompage to its own field in debian/control
+  * Quote filenames in rules/latex/__init__.py to stop crashes on files with
+    spaces in the filename
+
+ -- Scott Kitterman <[EMAIL PROTECTED]>  Thu, 07 Aug 2008 15:07:42 -0400
+
 rubber (1.1-2.1) unstable; urgency=low
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- rubber-1.1.orig/debian/pyversions
+++ rubber-1.1/debian/pyversions
@@ -0,0 +1 @@
+-
only in patch2:
unchanged:
--- rubber-1.1.orig/src/rules/latex/__init__.py
+++ rubber-1.1/src/rules/latex/__init__.py
@@ -1107,7 +1107,8 @@
 		
 		file = self.source()
 		cmd = [self.vars["program"]]
-		cmd += map(lambda x: x.replace("%s",file), self.cmdline)
+		quoted_file = '"%s"' % file
+		cmd += map(lambda x: x.replace("%s", quoted_file), self.cmdline)
 		inputs = string.join(self.env.path, ":")
 		if inputs == "":
 			env = {}

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



Reply via email to