SHA256
1
0
forked from pool/gjs

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
This commit is contained in:
Dominique Leuenberger 2020-04-21 16:39:02 +00:00 committed by Git OBS Bridge
parent 38b5019ca3
commit 769557647f
2 changed files with 4 additions and 17 deletions

View File

@ -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 <bjorn.lie@gmail.com>

View File

@ -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