[DRE-commits] [SCM] ruby-gnome2.git branch, master, updated. debian/1.0.3-1-5-g178907e
Antonio Terceiro
terceiro at debian.org
Fri May 4 10:47:55 UTC 2012
The following commit has been merged in the master branch:
commit 178907e2ff78aa52684eb4a3b35a6ea4321fc0a1
Author: Antonio Terceiro <terceiro at debian.org>
Date: Fri May 4 07:44:18 2012 -0300
Put upstream patch in git
diff --git a/debian/README.source b/debian/README.source
deleted file mode 100644
index c21fd05..0000000
--- a/debian/README.source
+++ /dev/null
@@ -1,2 +0,0 @@
-This package uses quilt.
-See /usr/share/doc/quilt/README.source
diff --git a/debian/patches/Fail-the-build-if-any-subpackage-fails b/debian/patches/Fail-the-build-if-any-subpackage-fails
new file mode 100644
index 0000000..5e1ae9f
--- /dev/null
+++ b/debian/patches/Fail-the-build-if-any-subpackage-fails
@@ -0,0 +1,33 @@
+--- ruby-gnome2-1.1.3.orig/exec_make.rb
++++ ruby-gnome2-1.1.3/exec_make.rb
+@@ -29,7 +29,8 @@ SUBDIRS.each do |subdir|
+ if ret
+ success << subdir
+ else
+- failure << subdir
++ puts "Building of #{subdir} failed."
++ exit(1)
+ end
+ end
+
+--- ruby-gnome2-1.1.3.orig/extconf.rb
++++ ruby-gnome2-1.1.3/extconf.rb
+@@ -75,6 +75,10 @@ subdirs.each do |subdir|
+ if ret
+ targets << subdir
+ else
++ if $strict
++ exit(1)
++ end
++
+ ignore << subdir
+ end
+ end
+@@ -114,6 +118,7 @@ def run_make_in_sub_dirs(command)
+ echo "FAILED: $$failed"; \\
+ echo "-----"; \\
+ echo "Done."; \\
++ test "$$failed" = "NONE"; \\
+ )
+ EOS
+ end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..875c401
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Fail-the-build-if-any-subpackage-fails
--
ruby-gnome2.git
More information about the Pkg-ruby-extras-commits
mailing list