From 4b114f5acd48eaa0558efc22de69f44a60a2fd97 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 16 Sep 2024 14:44:59 +0200 Subject: [PATCH] ruby: don't install bin/*.lock files. --- srcpkgs/ruby/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/ruby/template b/srcpkgs/ruby/template index 15c9ede2ac2..0a8fe1a5494 100644 --- a/srcpkgs/ruby/template +++ b/srcpkgs/ruby/template @@ -3,7 +3,7 @@ _ruby_abiver=3.3.0 pkgname=ruby version=3.3.5 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-shared --disable-rpath PKG_CONFIG=/usr/bin/pkg-config" @@ -87,6 +87,8 @@ post_install() { # Replace reference to the install(1) wrapper vsed -e "s,${XBPS_WRAPPERDIR},/usr/bin,g" -i \ ${DESTDIR}/usr/lib/ruby/${_ruby_abiver}/*/rbconfig.rb + # https://bugs.ruby-lang.org/issues/20721 remove with 3.3.6 + rm -f ${DESTDIR}/usr/bin/*.lock vlicense COPYING }