Skip to content

Commit b5293d7

Browse files
committed
Revert "Replace libruby2.3-dbg with automatic dbgsym packages."
This reverts commit 909d218.
1 parent d041d4f commit b5293d7

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

debian/control

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,20 @@ Architecture: any
7272
Depends: ${misc:Depends}, ${shlibs:Depends}
7373
Description: Bundled gems
7474

75+
Package: libruby2.3-dbg
76+
Section: debug
77+
Multi-Arch: same
78+
Architecture: any
79+
Depends: libruby2.3 (= ${binary:Version}),
80+
${misc:Depends}
81+
Description: Debugging symbols for libruby2.3
82+
Ruby is the interpreted scripting language for quick and easy
83+
object-oriented programming. It has many features to process text
84+
files and to do system management tasks (as in perl). It is simple,
85+
straight-forward, and extensible.
86+
.
87+
This package includes the debugging symbols for the 'libruby-2.3' library.
88+
7589
Package: ruby2.3-dev
7690
Multi-Arch: same
7791
Architecture: any

debian/rules

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,6 @@ import-orig-source:
110110

111111
.PHONY: override_dh_strip
112112
override_dh_strip:
113-
dh_strip --dbgsym-migration=libruby$(RUBY_VERSION)-dbg' (<< 2.3.1-3~)'
113+
dh_strip --dbg-package=libruby$(RUBY_VERSION)-dbg
114+
# Don't ship debug files for the rubyX.Y binary to avoid Multi-Arch: same issues.
115+
rm $(CURDIR)/debian/libruby$(RUBY_VERSION)-dbg/usr/lib/debug/usr/bin/ruby$(RUBY_VERSION)

0 commit comments

Comments
 (0)