installed tests
This commit is contained in:
parent
5a10288b75
commit
9cf682963d
@ -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 <vrutkovs@redhat.com> - 1.0.2-5
|
||||
- Build installed tests
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user