From 988e862540fe8e8a4c9a90ccb50c3e44473a4c1c Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Wed, 12 Nov 2014 12:41:08 +0100 Subject: [PATCH] Build installed tests --- eog.spec | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/eog.spec b/eog.spec index 794f4a5..852aaf3 100644 --- a/eog.spec +++ b/eog.spec @@ -9,7 +9,7 @@ Summary: Eye of GNOME image viewer Name: eog Version: 3.14.2 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://projects.gnome.org/eog/ #VCS: git:git://git.gnome.org/eog Source: http://download.gnome.org/sources/eog/3.14/%{name}-%{version}.tar.xz @@ -64,11 +64,22 @@ The Eye of GNOME image viewer (eog) is the official image viewer for the GNOME desktop. This package allows you to develop plugins that add new functionality to eog. +%package tests +Summary: Tests for the %{name} package +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: dogtail +Requires: python-behave + +%description tests +The %{name}-tests package contains tests that can be used to verify +the functionality of the installed %{name} package. + %prep %setup -q %build -%configure +%configure --enable-installed-tests make %{?_smp_mflags} %install @@ -114,7 +125,15 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : %{_libdir}/pkgconfig/eog.pc %{_datadir}/gtk-doc/ +%files tests +%dir %{_libexecdir}/eog +%{_libexecdir}/eog/installed-tests/ +%{_datadir}/installed-tests/ + %changelog +* Wed Nov 12 2014 Vadim Rutkovsky - 3.14.2-2 +- Build installed tests + * Mon Nov 10 2014 Kalev Lember - 3.14.2-1 - Update to 3.14.2