Accepting request 754074 from GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/754074
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=174
This commit is contained in:
Bjørn Lie 2019-12-04 20:00:00 +00:00 committed by Git OBS Bridge
parent 37e53841e0
commit bc1145c778
2 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 4 13:52:11 UTC 2019 - Frederic Crozat <fcrozat@suse.com>
- Enable systemtap support.
-------------------------------------------------------------------
Mon Nov 25 19:26:00 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -16,10 +16,6 @@
#
# TODO: systemtap/dtrace is currently (1.53.91) failing, when
# https://gitlab.gnome.org/GNOME/gjs/issues/196 gets fixed and released,
# remove all conditional macros and enable systemtap.
%bcond_with systemtap
Name: gjs
Version: 1.58.3
Release: 0
@ -93,9 +89,12 @@ Mozilla SpiderMonkey JavaScript engine.
%autosetup -p1
%build
#doesn't play well with systemtap
%global _lto_cflags %{nil}
%configure \
--disable-static \
--%{?with_systemtap:enable}%{!?with_systemtap:disable}-systemtap
--enable-systemtap
make %{?_smp_mflags}
%install
@ -126,8 +125,6 @@ rm %{buildroot}/usr/share/glib-2.0/schemas/org.gnome.GjsTest.gschema.xml
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/%{name}-1.0/
%if %{with systemtap}
%{_datadir}/systemtap/tapset/*.stp
%endif
%changelog