[gnome-photos] Build installed tests

Mathieu Bridon bochecha at fedoraproject.org
Mon Nov 17 16:46:17 UTC 2014


commit 6ca611c234feccd2c437283477737832f4c3c286
Author: Vadim Rutkovsky <vrutkovs at redhat.com>
Date:   Mon Nov 17 17:45:30 2014 +0100

    Build installed tests
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1163435

 gnome-photos.spec |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/gnome-photos.spec b/gnome-photos.spec
index e9ba8ef..21c9ef8 100644
--- a/gnome-photos.spec
+++ b/gnome-photos.spec
@@ -4,7 +4,7 @@
 Name:          gnome-photos
 Summary:       Access, organize and share your photos on GNOME
 Version:       3.14.2
-Release:       1%{?dist}
+Release:       2%{?dist}
 URL:           https://live.gnome.org/GnomePhotos
 
 # GNOME Photos itself is GPLv2+, but the bundled libgd is LGPLv2+
@@ -50,11 +50,18 @@ Photos, like Documents, Music and Videos, is one of the core GNOME
 applications meant for find and reminding the user about her content.
 
 
+%package       tests
+Summary:       Tests for %{name}
+
+%description   tests
+This package contains the installable tests for %{name}.
+
+
 %prep
 %setup -q
 
 %build
-%configure
+%configure --enable-installed-tests
 make %{?_smp_mflags}
 
 
@@ -99,8 +106,15 @@ fi
 %{_datadir}/icons/HighContrast/*/apps/%{name}.png
 %{_docdir}/%{name}
 
+%files tests
+%{_libexecdir}/installed-tests/Photos
+%{_datadir}/installed-tests
+
 
 %changelog
+* Wed Nov 12 2014 Vadim Rutkovsky <vrutkovs at redhat.com> - 3.14.2-2
+- Build installed tests
+
 * Mon Nov 10 2014 Kalev Lember <kalevlember at gmail.com> - 3.14.2-1
 - Update to 3.14.2
 


More information about the scm-commits mailing list