[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-extras-commits
Subject:    rdieter pushed to kf5-baloo (master).  "%check: use standardized BRs, 'make test'"
From:       notifications () fedoraproject ! org
Date:       2016-04-30 23:38:22
Message-ID: 20160430233822.7723B6079D07 () bastion01 ! phx2 ! fedoraproject ! org
[Download RAW message or body]

From 59b695072cf325d0c9461b998f3914df98d52354 Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter@math.unl.edu>
Date: Sat, 30 Apr 2016 18:38:13 -0500
Subject: %check: use standardized BRs, 'make test'

---
 kf5-baloo.spec | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/kf5-baloo.spec b/kf5-baloo.spec
index 526f4f0..699be3f 100644
--- a/kf5-baloo.spec
+++ b/kf5-baloo.spec
@@ -10,7 +10,7 @@
 Name:           kf5-%{framework}
 Summary:        A Tier 3 KDE Frameworks 5 module that provides indexing and search \
functionality  Version:        5.21.0
-Release:        5%{?dist}
+Release:        6%{?dist}
 
 # libs are LGPL, tools are GPL
 # KDE e.V. may determine that future LGPL/GPL versions are accepted
@@ -46,6 +46,11 @@ BuildRequires:  kf5-solid-devel >= %{version}
 BuildRequires:  lmdb-devel
 BuildRequires:  qt5-qtbase-devel
 BuildRequires:  qt5-qtdeclarative-devel
+%if 0%{?tests}
+BuildRequires: dbus-x11
+BuildRequires: time
+BuildRequires: xorg-x11-server-Xvfb
+%endif
 
 Requires:       kf5-filesystem >= %{version}
 
@@ -137,7 +142,11 @@ cat baloo_file.lang baloo_file_extractor.lang \
 
 %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
 
 
@@ -193,6 +202,9 @@ fi
 
 
 %changelog
+* Sat Apr 30 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-6
+- %%check: use standardized BRs, 'make test'
+
 * Fri Apr 29 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-5
 - -file: Requires: %%name-libs
 
-- 
cgit v0.12


	http://pkgs.fedoraproject.org/cgit/kf5-baloo.git/commit/?h=master&id=59b695072cf325d0c9461b998f3914df98d52354
                
--
scm-commits mailing list
scm-commits@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/scm-commits@lists.fedoraproject.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic