Skip to content

Commit d8638df

Browse files
lucaskanashirosorah
authored andcommitted
d/rules: use variables instead of hardcoded ruby version in dh_gencontrol
1 parent b4cee1c commit d8638df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

debian/rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,6 @@ override_dh_install-arch:
159159
dh_install
160160

161161
override_dh_gencontrol:
162-
./debian/genprovides $(CURDIR)/debian/libruby3.0/usr/lib/ruby/gems/3.0.0/specifications/default/ \
163-
>> debian/libruby3.0.substvars
162+
./debian/genprovides $(CURDIR)/debian/libruby$(RUBY_VERSION)/usr/lib/ruby/gems/$(RUBY_API_VERSION)/specifications/default/ \
163+
>> debian/libruby$(RUBY_VERSION).substvars
164164
dh_gencontrol

0 commit comments

Comments
 (0)