mirror of
https://salsa.debian.org/ha-team/libqb
synced 2026-08-07 18:12:13 +00:00
[tests] enable building / shipping of libqb-tests.rpm
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
This commit is contained in:
parent
6255a1466c
commit
44386edf7d
@ -1,4 +1,5 @@
|
||||
%bcond_without check
|
||||
%bcond_without testsrpm
|
||||
|
||||
%global alphatag @alphatag@
|
||||
%global numcomm @numcomm@
|
||||
@ -26,7 +27,11 @@ and polling.
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure --disable-static
|
||||
%configure \
|
||||
%if %{with testsrpm}
|
||||
--enable-install-tests \
|
||||
%endif
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%if 0%{?with_check}
|
||||
@ -66,6 +71,20 @@ developing applications that use %{name}.
|
||||
%{_libdir}/pkgconfig/libqb.pc
|
||||
%{_mandir}/man3/qb*3*
|
||||
|
||||
%if %{with testsrpm}
|
||||
%package tests
|
||||
Summary: Test suite for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%files tests
|
||||
%doc COPYING
|
||||
%{_libdir}/libqb/tests/*
|
||||
|
||||
%description tests
|
||||
The %{name}-tests package contains the %{name} test suite.
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* @date@ Autotools generated version <nobody@nowhere.org> - @version@-1-@numcomm@.@alphatag@.@dirty@
|
||||
- Autotools generated version
|
||||
|
||||
Loading…
Reference in New Issue
Block a user