|
|
|
@ -9,7 +9,7 @@
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Version: 5.21.0
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 1 addon with various classes on top of QtCore
|
|
|
|
|
|
|
|
|
|
License: GPLv2+ and GPLv2+
|
|
|
|
@ -60,7 +60,7 @@ developing applications that use %{name}.
|
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
%{cmake_kf5} .. \
|
|
|
|
|
%{?tests:-DBUILD_TESTING:BOOL=TRUE}
|
|
|
|
|
%{?tests:-DBUILD_TESTING:BOOL=ON}
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
@ -74,7 +74,11 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if 0%{?tests}
|
|
|
|
|
time make test -C %{_target_platform} ARGS="--timeout 300 --output-on-failure"
|
|
|
|
|
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} ||:
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -108,6 +112,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Apr 29 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-6
|
|
|
|
|
- robust %%check, add deps
|
|
|
|
|
|
|
|
|
|
* Wed Apr 27 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-5
|
|
|
|
|
- %%check: conditionally 'make test'
|
|
|
|
|
|
|
|
|
|