From 769557647f2e5647fd026c9a8cd319062384dbc5382848aa6119b399db1b73e3 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 21 Apr 2020 16:39:02 +0000 Subject: [PATCH] Accepting request 796097 from GNOME:Next - Pass -Dinstalled_tests=false to meson: do not install the test suite (it's meant to be invalid code, which in turn confuses the dep scanner). OBS-URL: https://build.opensuse.org/request/show/796097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=183 --- gjs.changes | 4 +++- gjs.spec | 17 +---------------- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/gjs.changes b/gjs.changes index 4c21b6d..4da7d55 100644 --- a/gjs.changes +++ b/gjs.changes @@ -88,7 +88,9 @@ Sat Mar 28 16:52:21 UTC 2020 - dimstar@opensuse.org - Add git BuildRequires: New dependency (expected to be dropped). - Add pkgconfig(sysprof-3) and pkgconfig(sysprof-capture-3) BuildRequires, build profiler support. -- Add new sub package gjs-tests, build and package tests. +- Pass -Dinstalled_tests=false to meson: do not install the test + suite (it's meant to be invalid code, which in turn confuses the + dep scanner). ------------------------------------------------------------------- Sat Mar 28 16:52:20 UTC 2020 - Bjørn Lie diff --git a/gjs.spec b/gjs.spec index 93af58c..7755ee0 100644 --- a/gjs.spec +++ b/gjs.spec @@ -90,16 +90,6 @@ Provides: gjs-devel = %{version} This module contains JavaScript bindings based on gobject-introspection and the Mozilla SpiderMonkey JavaScript engine. -%package tests -Summary: Tests for the gjs package -License: MIT AND LGPL-2.0-or-later -Group: Development/Libraries/GNOME -Requires: %{name} = %{version} - -%description tests -The gjs-tests package contains tests that can be used to verify -the functionality of the installed gjs package. - %prep %autosetup -p1 @@ -110,6 +100,7 @@ the functionality of the installed gjs package. %meson \ -Ddtrace=true \ -Dsystemtap=true \ + -Dinstalled_tests=false \ %{nil} %meson_build @@ -145,10 +136,4 @@ the functionality of the installed gjs package. %{_datadir}/%{name}-1.0/ %{_datadir}/systemtap/tapset/*.stp -%files tests -%dir %{_libexecdir}/gjs -%{_libexecdir}/gjs/installed-tests -%{_datadir}/glib-2.0/schemas/org.gnome.GjsTest.gschema.xml -%{_datadir}/installed-tests - %changelog