From e13aa41cf5e5d3783cb2242b1076442094ce6af5 Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Wed, 12 Nov 2014 13:23:26 +0100 Subject: [PATCH] Build installed tests --- gvfs.spec | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/gvfs.spec b/gvfs.spec index 93ee7ac..32c04e1 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -3,7 +3,7 @@ Summary: Backends for the gio framework in GLib Name: gvfs Version: 1.22.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3 and LGPLv2+ and BSD and MPLv1.1 Group: System Environment/Libraries URL: http://www.gtk.org @@ -158,6 +158,14 @@ BuildRequires: gnome-online-accounts-devel >= 3.7.1 This package provides seamless integration with gnome-online-accounts file services. +%package tests +Summary: Tests for the gvfs package +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tests +The gvfs-tests package contains tests that can be used to verify +the functionality of the installed gvfs package. %prep %setup -q @@ -176,7 +184,8 @@ autoconf || : --disable-gdu \ --disable-obexftp \ --enable-udisks2 \ - --enable-keyring + --enable-keyring \ + --enable-installed-tests make %{?_smp_mflags} V=1 %install @@ -357,7 +366,14 @@ update-desktop-database >&/dev/null || : %{_datadir}/dbus-1/services/org.gtk.Private.GoaVolumeMonitor.service %{_datadir}/gvfs/remote-volume-monitors/goa.monitor +%files tests +%{_libexecdir}/installed-tests/gvfs +%{_datadir}/installed-tests + %changelog +* Wed Nov 12 2014 Vadim Rutkovsky - 1.22.2-3 +- Build installed tests + * Tue Nov 11 2014 Adrian Reber - 1.22.2-2 - Rebuilt for libcdio-0.93