From 1d71425d684dbd2cc551acd83790f15d2aa5fe88 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 27 Apr 2016 11:04:56 -0500 Subject: [PATCH] %check: conditionally 'make test' --- kf5-kcoreaddons.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kf5-kcoreaddons.spec b/kf5-kcoreaddons.spec index 959ce11..cd33727 100644 --- a/kf5-kcoreaddons.spec +++ b/kf5-kcoreaddons.spec @@ -9,7 +9,7 @@ Name: kf5-%{framework} Version: 5.21.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: KDE Frameworks 5 Tier 1 addon with various classes on top of QtCore License: GPLv2+ and GPLv2+ @@ -73,7 +73,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %check +%if 0%{?tests} time make test -C %{_target_platform} ARGS="--timeout 300 --output-on-failure" +%endif %post @@ -106,6 +108,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %changelog +* Wed Apr 27 2016 Rex Dieter - 5.21.0-5 +- %%check: conditionally 'make test' + * Wed Apr 27 2016 Rex Dieter - 5.21.0-4 - KRandom::random seeds qrand, but returns value from rand (kde#362161)