Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/gjs.git#147b42535d0129f10d65f6d507548006def75a01
This commit is contained in:
DistroBaker 2021-01-26 13:56:32 +00:00
parent 17abeef1bb
commit 3e1831377c

View File

@ -5,7 +5,7 @@
Name: gjs
Version: 1.67.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Javascript Bindings for GNOME
# The following files contain code from Mozilla which
@ -73,9 +73,7 @@ the functionality of the installed gjs package.
%meson_install
%check
# we need to do this as meson_test macro begins with newline character
TEST_CMD="%meson_test"
xvfb-run -s "-screen 0 1600x1200x24" `echo $TEST_CMD | grep -v -e "^$"`
xvfb-run -s "-screen 0 1600x1200x24" eval "%meson_test"
%files
%license COPYING
@ -100,6 +98,9 @@ xvfb-run -s "-screen 0 1600x1200x24" `echo $TEST_CMD | grep -v -e "^$"`
%{_datadir}/installed-tests/
%changelog
* Tue Jan 26 2021 Kalev Lember <klember@redhat.com> - 1.67.1-3
- Simplify xvfb-run invocation
* Tue Jan 26 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.67.1-2
- Enable tests during rpmbuild