[gtksourceview3] installed tests

Matthias Clasen mclasen at fedoraproject.org
Thu Sep 4 05:14:26 UTC 2014


commit 5490604b2f9487a69d27730a52f80e74306a1b1b
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Thu Sep 4 01:12:10 2014 -0400

    installed tests

 gtksourceview3.spec |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview3.spec b/gtksourceview3.spec
index 78714be..f7e0b80 100644
--- a/gtksourceview3.spec
+++ b/gtksourceview3.spec
@@ -5,7 +5,7 @@
 Summary: A library for viewing source files
 Name: gtksourceview3
 Version: 3.13.90
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://gtksourceview.sourceforge.net/
@@ -38,11 +38,21 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
 gtksourceview3-devel contains the files required to compile
 applications which use GtkSourceView 3.
 
+%package tests
+Summary: Tests for the gtksourceview3 package
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description tests
+The gtksourceview3-tests package contains tests that can be used to verify
+the functionality of the installed gtksourceview package.
+
 %prep
 %setup -q -n gtksourceview-%{version}
 
 %build
-%configure --disable-gtk-doc --disable-static --enable-glade-catalog
+%configure --disable-gtk-doc --disable-static --enable-glade-catalog \
+ --enable-installed-tests
 
 make %{?_smp_mflags}
 
@@ -78,7 +88,14 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 %{_datadir}/vala/vapi/gtksourceview-3.0.deps
 %{_datadir}/vala/vapi/gtksourceview-3.0.vapi
 
+%files tests
+%{_libexecdir}/installed-tests/gtksourceview
+%{_datadir}/installed-tests
+
 %changelog
+* Thu Sep 4 2014 Vadim Rutkovsky <vrutkovs at redhat.com> - 3.13.90-2
+- Build installed tests (#1117380)
+
 * Mon Aug 18 2014 Kalev Lember <kalevlember at gmail.com> - 3.13.90-1
 - Update to 3.13.90
 - Include vala vapi files


More information about the scm-commits mailing list