[packages/gtk-webkit4] - require ruby-getoptlong for ruby 3+

qboosh qboosh at pld-linux.org
Sun Jun 14 09:46:14 CEST 2026


commit 4c5506b0a7f2525a5260f3c59bd3564878830972
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 14 09:46:34 2026 +0200

    - require ruby-getoptlong for ruby 3+

 gtk-webkit4.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gtk-webkit4.spec b/gtk-webkit4.spec
index ae32d80..71dfe1a 100644
--- a/gtk-webkit4.spec
+++ b/gtk-webkit4.spec
@@ -109,6 +109,9 @@ BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 2.029
 BuildRequires:	ruby >= 1:2.5
 BuildRequires:	ruby-modules >= 1:2.5
+%if "%{ruby_version}" >= "3.0"
+BuildRequires:	ruby-getoptlong
+%endif
 BuildRequires:	sqlite3-devel >= 3
 %{?with_sysprof:BuildRequires:	sysprof-devel >= 3.38}
 BuildRequires:	systemd-devel
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk-webkit4.git/commitdiff/4c5506b0a7f2525a5260f3c59bd3564878830972



More information about the pld-cvs-commit mailing list