Attached is a patch to enable a debugging symbols package.

- Matt
diff --git a/debian/control b/debian/control
index fcd422e..e4eff5b 100644
--- a/debian/control
+++ b/debian/control
@@ -64,6 +64,22 @@ Description: Libraries necessary to run Ruby 2.2
  This package includes the 'libruby-2.2' library, necessary to run Ruby 2.2.
  (API version 2.2.0)
 
+Package: libruby2.2-dbg
+Section: debug
+Priority: extra
+Multi-Arch: same
+Architecture: any
+Depends:
+    libruby2.2 (= ${binary:Version}),
+    ${misc:Depends}
+Description: Debugging symbols for libruby2.2
+ Ruby is the interpreted scripting language for quick and easy
+ object-oriented programming.  It has many features to process text
+ files and to do system management tasks (as in perl).  It is simple,
+ straight-forward, and extensible.
+ .
+ This package includes the debugging symbols for the 'libruby-2.2' library.
+
 Package: ruby2.2-dev
 Multi-Arch: same
 Architecture: any
diff --git a/debian/rules b/debian/rules
index 1af9bce..d65e1cd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -104,3 +104,7 @@ import-orig-source:
 	test -n "$$UPSTREAM_VERSION"
 	cd $(UPSTREAM_GIT) && git archive --format=tar --prefix=ruby-$(UPSTREAM_VERSION)/ v$(shell echo $(UPSTREAM_VERSION) | tr . _) | xz -c > /tmp/ruby-$(UPSTREAM_VERSION).tar.xz
 	gbp import-orig /tmp/ruby-$(UPSTREAM_VERSION).tar.xz
+
+.PHONY: override_dh_strip
+override_dh_strip:
+	dh_strip --dbg-package=libruby2.2-dbg

Reply via email to