Actually the first debdiff misses one needed change.  Revision attached.
diff -u ruby-prof-0.7.3/debian/control ruby-prof-0.7.3/debian/control
--- ruby-prof-0.7.3/debian/control
+++ ruby-prof-0.7.3/debian/control
@@ -3,11 +3,11 @@
 Priority: optional
 Maintainer: Arnaud Cornet <acor...@debian.org>
 Standards-Version: 3.8.1
-Build-Depends: debhelper (>= 7), quilt, ruby, ruby1.8-dev
+Build-Depends: debhelper (>= 7), quilt, ruby, ruby1.8, ruby1.8-dev
 
 Package: ruby-prof
 Architecture: any
-Depends: ruby (>= 1.8), rake, ${shlibs:Depends}, ${misc:Depends}
+Depends: ruby1.8, rake, ${shlibs:Depends}, ${misc:Depends}
 Description: A fast code profiler for Ruby
  ruby-prof is runs a ruby program and keeps track of the amount of time spent
  in each method. At the end of execution it displays collected information.
diff -u ruby-prof-0.7.3/debian/changelog ruby-prof-0.7.3/debian/changelog
--- ruby-prof-0.7.3/debian/changelog
+++ ruby-prof-0.7.3/debian/changelog
@@ -1,3 +1,14 @@
+ruby-prof (0.7.3-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Specify building with ruby1.8 and not just ruby in debian/rules to
+    fix FTBFS now that ruby1.9.1 is default (Closes: #676087)
+  * Manually create debian/ruby-prof/usr/lib/ruby/1.8 in install rule so files
+    are copied to the correct destination
+  * Directly build-depend and depend on ruby1.8 since it's no longer default
+
+ -- Scott Kitterman <sc...@kitterman.com>  Mon, 09 Jul 2012 23:39:26 -0400
+
 ruby-prof (0.7.3-1) unstable; urgency=low
 
   * New Upstream Version.
diff -u ruby-prof-0.7.3/debian/rules ruby-prof-0.7.3/debian/rules
--- ruby-prof-0.7.3/debian/rules
+++ ruby-prof-0.7.3/debian/rules
@@ -2,11 +2,11 @@
 
 include /usr/share/quilt/quilt.make
 
-RUBY_ARCHDIR=$(strip $(shell ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]'))
+RUBY_ARCHDIR=$(strip $(shell ruby1.8 -rrbconfig -e 'puts Config::CONFIG["archdir"]'))
 
 build: patch
 	dh build --until dh_auto_configure
-	(cd ext && ruby extconf.rb)
+	(cd ext && ruby1.8 extconf.rb)
 	make -C ext
 	dh build --after dh_auto_build
 
@@ -21,6 +21,7 @@
 	dh install --until dh_auto_install
 	mkdir -p debian/ruby-prof/$(RUBY_ARCHDIR)
 	mkdir -p debian/ruby-prof/usr/bin
+	mkdir -p debian/ruby-prof/usr/lib/ruby/1.8
 	cp -r lib/ruby-prof debian/ruby-prof/usr/lib/ruby/1.8
 	cp lib/*.rb debian/ruby-prof/usr/lib/ruby/1.8
 	chmod a-x debian/ruby-prof/usr/lib/ruby/1.8/ruby-prof/*.rb

Reply via email to