[DRE-commits] [ruby-gnome2] 05/08: refresh Fail-the-build-if-any-subpackage-fails

Cédric Boutillier boutil at alioth.debian.org
Wed Oct 2 14:51:32 UTC 2013


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-gnome2.

commit a6c280c45b80c1fd4b00f8e558aa37e72ae34e7b
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Oct 2 16:49:15 2013 +0200

    refresh Fail-the-build-if-any-subpackage-fails
---
 .../patches/Fail-the-build-if-any-subpackage-fails |   27 +++++++-------------
 1 file changed, 9 insertions(+), 18 deletions(-)

diff --git a/debian/patches/Fail-the-build-if-any-subpackage-fails b/debian/patches/Fail-the-build-if-any-subpackage-fails
index 5e1ae9f..f750bcd 100644
--- a/debian/patches/Fail-the-build-if-any-subpackage-fails
+++ b/debian/patches/Fail-the-build-if-any-subpackage-fails
@@ -1,6 +1,6 @@
---- 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|
+--- a/exec_make.rb
++++ b/exec_make.rb
+@@ -29,7 +29,8 @@
  	if ret
  		success << subdir 
  	else
@@ -10,24 +10,15 @@
  	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|
+--- a/extconf.rb
++++ b/extconf.rb
+@@ -85,6 +85,9 @@
    if ret
-     targets << subdir
+     target_modules << subdir
    else
 +    if $strict
-+        exit(1)
++      exit(1)
 +    end
-+
-     ignore << subdir
+     ignore_modules << 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gnome2.git



More information about the Pkg-ruby-extras-commits mailing list