From 9cf682963dfd7f539604a154731c62def4277ca0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sep 04 2014 16:36:57 +0000 Subject: installed tests --- diff --git a/json-glib.spec b/json-glib.spec index 385dc7a..d3f752c 100644 --- a/json-glib.spec +++ b/json-glib.spec @@ -2,7 +2,7 @@ Name: json-glib Version: 1.0.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Library for JavaScript Object Notation format Group: System Environment/Libraries @@ -31,13 +31,21 @@ Requires: %{name}%{_isa} = %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%package tests +Summary: Tests for the json-glib package +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tests +The json-glib-tests package contains tests that can be used to verify +the functionality of the installed json-glib package. %prep %setup -q -n %{name}-%{version} %build -%configure --enable-static=no +%configure --enable-static=no --enable-installed-tests make %{?_smp_mflags} V=1 @@ -74,8 +82,14 @@ cp -a doc/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/ %{_mandir}/man1/json-glib-format.1* %{_mandir}/man1/json-glib-validate.1* +%files tests +%{_libexecdir}/installed-tests/%{name} +%{_datadir}/installed-tests %changelog +* Thu Sep 4 2014 Vadim Rutkovsky - 1.0.2-5 +- Build installed tests + * Sat Aug 16 2014 Fedora Release Engineering - 1.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild