Skip to content

Commit f3afe17

Browse files
committed
More build fixes
1 parent 0c83c79 commit f3afe17

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
ruby3.3 (3.3.0~preview1-1ppa3) bionic; urgency=medium
2+
3+
* fix postinst for 3.3
4+
* fix sanity_check for prereleases
5+
6+
-- Ubuntu <ubuntu@focal> Fri, 19 May 2023 09:40:12 -0500
7+
18
ruby3.3 (3.3.0~preview1-1ppa2) bionic; urgency=medium
29

310
* Skip erroneously failing tests

debian/ruby3.3.postinst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set -e
44

55
if [ "$1" = "configure" ]
66
then
7-
update-alternatives --install /usr/bin/gem gem /usr/bin/gem3.2 181
8-
RUBYVER=3.2
7+
update-alternatives --install /usr/bin/gem gem /usr/bin/gem3.3 181
8+
RUBYVER=3.3
99
update-alternatives \
1010
--install /usr/bin/ruby ruby /usr/bin/ruby${RUBYVER} 51 \
1111
--slave /usr/bin/erb erb /usr/bin/erb${RUBYVER} \

debian/sanity_check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ test '!' -f debian/tmp/${libdir}/pkgconfig/ruby-${RUBY_VERSION}.pc
1414
# files that should exist
1515
ls -1 debian/tmp/${archlibdir}/libruby-${RUBY_VERSION}.so.${RUBY_VERSION}
1616
ls -1 debian/tmp/${archlibdir}/pkgconfig/ruby-${RUBY_VERSION}.pc
17-
ls -1 debian/tmp/${libdir}/ruby/gems/${RUBY_API_VERSION}/specifications/default/json-*.gemspec
17+
ls -1 debian/tmp/${libdir}/ruby/gems/${RUBY_API_VERSION}*/specifications/default/json-*.gemspec

0 commit comments

Comments
 (0)