[DRE-commits] [ruby-binding-of-caller] 02/05: force rubygems-integration to be architecture-independent

Antonio Terceiro terceiro at moszumanska.debian.org
Mon Feb 29 17:04:44 UTC 2016


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

terceiro pushed a commit to branch master
in repository ruby-binding-of-caller.

commit 0b8e0258a4957680fa5d10ac4f6c456361f35ab9
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Feb 29 13:57:56 2016 -0300

    force rubygems-integration to be architecture-independent
---
 debian/changelog                   |  6 +++++-
 debian/patches/no-extensions.patch | 16 ++++++++++++++++
 debian/patches/series              |  1 +
 debian/tests/control               |  2 ++
 4 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1f91ff8..4dd754c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,7 +7,11 @@ ruby-binding-of-caller (0.7.2+debian1-3) UNRELEASED; urgency=medium
     - cleanup debian/rules
     - removed bogus debian/tests/control.ex
   * debian/ruby-tests.rb: fix test invocation for multiple ruby versions
-  * debian/tests/control: run ruby tests + plus a rubygems-integration test
+  * debian/tests/control: run ruby tests + plus a few rubygems-integration
+    tests
+  * debian/patches/no-extensions.patch: remove metadata about native
+    extensions to force the rubygems-integration files to be installed in a
+    architecture-independent location.
 
  -- Antonio Terceiro <terceiro at debian.org>  Mon, 29 Feb 2016 11:48:00 -0300
 
diff --git a/debian/patches/no-extensions.patch b/debian/patches/no-extensions.patch
new file mode 100644
index 0000000..f9fb46c
--- /dev/null
+++ b/debian/patches/no-extensions.patch
@@ -0,0 +1,16 @@
+Description: there are no binary extensions, really
+Author: Antonio Terceiro <terceiro at debian.org>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2016-02-29
+--- a/metadata.yml
++++ b/metadata.yml
+@@ -56,8 +56,6 @@ description: Retrieve the binding of a m
+   even further up the stack.
+ email: jrmair at gmail.com
+ executables: []
+-extensions:
+-- ext/binding_of_caller/extconf.rb
+ extra_rdoc_files: []
+ files:
+ - .gemtest
diff --git a/debian/patches/series b/debian/patches/series
index 5a62536..bbceb0c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 add-clean-target.patch
+no-extensions.patch
diff --git a/debian/tests/control b/debian/tests/control
index 386f700..7c52581 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,3 +2,5 @@ Test-Command: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1
 Depends: @, ruby-bacon,ruby-debug-inspector (>= 0.0.1), gem2deb-test-runner
 
 Test-Command: gem list binding_of_caller
+
+Test-Command: /usr/share/rubygems-integration/all/specifications/binding_of_caller-*.gemspec

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



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