[glib-networking] installed tests

Matthias Clasen mclasen at fedoraproject.org
Thu Sep 4 16:14:43 UTC 2014


commit 2608c28f7197665df85b88329574c60def803153
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Thu Sep 4 12:09:51 2014 -0400

    installed tests

 glib-networking.spec |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/glib-networking.spec b/glib-networking.spec
index 9c80d81..1e14cc6 100644
--- a/glib-networking.spec
+++ b/glib-networking.spec
@@ -2,7 +2,7 @@
 
 Name:           glib-networking
 Version:        2.41.4
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Networking support for GLib
 
 Group:          Development/Libraries
@@ -27,12 +27,21 @@ GIO. In particular, it contains libproxy- and GSettings-based
 GProxyResolver implementations and a gnutls-based GTlsConnection
 implementation.
 
+%package tests
+Summary: Tests for the glib-networking package
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description tests
+The glib-networking-tests package contains tests that can be used to verify
+the functionality of the installed glib-networking package.
+
 %prep
 %setup -q
 
 
 %build
-%configure --disable-static --with-libproxy
+%configure --disable-static --with-libproxy --enable-installed-tests
 
 make %{?_smp_mflags} V=1
 
@@ -58,8 +67,14 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
 %{_libexecdir}/glib-pacrunner
 %{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service
 
+%files tests
+%{_libexecdir}/installed-tests/glib-networking
+%{_datadir}/installed-tests
 
 %changelog
+* Thu Sep  4 2014 Vadim Rutkovsky <vrutkovs at redhat.com> - 2.41.4-3
+- Build installed tests
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.41.4-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list