%check: drop extraneous X/dbus deps

epel9
Rex Dieter 9 years ago
parent 0cd5e19276
commit 7eea19088d

@ -9,7 +9,7 @@
Name: kf5-%{framework}
Version: 5.25.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: KDE Frameworks 5 Tier 2 library to load and install packages as plugins
License: LGPLv2+
@ -36,11 +36,6 @@ BuildRequires: kf5-kdoctools-devel >= %{version}
BuildRequires: kf5-ki18n-devel >= %{version}
BuildRequires: kf5-rpm-macros >= %{version}
BuildRequires: qt5-qtbase-devel
%if 0%{?tests}
BuildRequires: dbus-x11
BuildRequires: time
BuildRequires: xorg-x11-server-Xvfb
%endif
Requires: kf5-filesystem >= %{version}
@ -84,10 +79,7 @@ mkdir -p %{buildroot}%{_kf5_datadir}/kpackage/
%check
%if 0%{?tests}
export CTEST_OUTPUT_ON_FAILURE=1
xvfb-run -a \
dbus-launch --exit-with-session \
time \
make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||:
%endif
@ -112,6 +104,9 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%changelog
* Thu Aug 25 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.25.0-3
- %%check: drop extraneous X/dbus deps
* Thu Aug 25 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.25.0-2
- patch to give details about kpackagetool5 --appstream-metainfo calls

Loading…
Cancel
Save