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

qboosh qboosh at pld-linux.org
Sun Jun 14 11:15:12 CEST 2026


commit 3c7415ca0ca58d7883308f7f367fde49546497df
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 14 11:15:33 2026 +0200

    - require ruby-getoptlong for ruby 3+

 gtk-webkit4.1.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gtk-webkit4.1.spec b/gtk-webkit4.1.spec
index bf149b4..898a89c 100644
--- a/gtk-webkit4.1.spec
+++ b/gtk-webkit4.1.spec
@@ -112,6 +112,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.1.git/commitdiff/3c7415ca0ca58d7883308f7f367fde49546497df



More information about the pld-cvs-commit mailing list