diff --git a/gjs.spec b/gjs.spec index 9a5f415efb0e8ea01116e20ebaf72137842b3224..bd159dfe034dfe37fe87c9e76505b1334c9a6032 100644 --- a/gjs.spec +++ b/gjs.spec @@ -4,9 +4,9 @@ Name: gjs Version: 1.75.1 -Release: 2 +Release: 3 Summary: using GNOME libraries from Javascript -License: MIT and (MPLv1.1 or GPLv2+ or LGPLv2+) +License: MIT AND BSD-3-Clause AND (MIT OR LGPL-2.0-or-later) AND (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later) URL: https://wiki.gnome.org/Projects/Gjs Source0: https://download.gnome.org/sources/%{name}/1.75/%{name}-%{version}.tar.xz Patch0: disable_tests-error.patch @@ -35,9 +35,8 @@ Requires: glib2%{?_isa} >= %{glib2_version} Requires: gobject-introspection%{?_isa} >= %{gobject_introspection_version} Requires: mozjs102%{?_isa} >= %{mozjs102_version} - -# Filter provides for private libraries -#%%global __provides_exclude_from ^%{_libdir}/gjs/ +# Filter all provides from installed tests +%global __requires_exclude_from ^%{_libexecdir}/installed-tests/.*$ %description Gjs is a Javascript binding for GNOME. It's mainly based on Spidermonkey javascript @@ -66,7 +65,6 @@ Development files for gjs. %{shrink:xvfb-run -s "-screen 0 1600x1200x24" %meson_test --timeout-multiplier=5} %files -%defattr(-,root,root) %doc NEWS README.md %license COPYING %{_bindir}/gjs* @@ -74,7 +72,6 @@ Development files for gjs. %{_libdir}/gjs %files devel -%defattr(-,root,root) %doc examples/* %{_includedir}/gjs-1.0 %{_libdir}/pkgconfig/gjs-1.0.pc @@ -86,6 +83,9 @@ Development files for gjs. %{_datadir}/glib-2.0/schemas/org.gnome.GjsTest.gschema.xml %changelog +* Mon Nov 04 2024 Funda Wang - 1.75.1-3 +- do not search installed-tests for dependencies + * Wed Feb 21 2024 liyanan - 1.75.1-2 - Put testGtk4.js in dbus suite