From 075302459ebe906d09a1e651bba54413092b1c7eda0e4a9b2ea0bafb66900a50 Mon Sep 17 00:00:00 2001 From: Yan Gao Date: Tue, 2 Apr 2019 16:24:02 +0000 Subject: [PATCH] Accepting request 690706 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 1.0.3+20190326.a521604: - enable building / shipping of libqb-tests.rpm (bsc#1131328) OBS-URL: https://build.opensuse.org/request/show/690706 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=92 --- _servicedata | 2 +- libqb-1.0.3+20190115.c880fcf.tar.xz | 3 --- libqb-1.0.3+20190326.a521604.tar.xz | 3 +++ libqb.changes | 6 ++++++ libqb.spec | 25 +++++++++++++++++++++++-- 5 files changed, 33 insertions(+), 6 deletions(-) delete mode 100644 libqb-1.0.3+20190115.c880fcf.tar.xz create mode 100644 libqb-1.0.3+20190326.a521604.tar.xz diff --git a/_servicedata b/_servicedata index d35d735..d3122a9 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ git://github.com/ClusterLabs/libqb.git - c880fcfd8d67d707c2de8bba5099230605f0f9bc + a5216040d337521c1c8ae7bb7ceb1846c7042505 \ No newline at end of file diff --git a/libqb-1.0.3+20190115.c880fcf.tar.xz b/libqb-1.0.3+20190115.c880fcf.tar.xz deleted file mode 100644 index 869e816..0000000 --- a/libqb-1.0.3+20190115.c880fcf.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c8d446e494453c62e40be705635c8a6c45df30424257eb18e75a62368515aed0 -size 176080 diff --git a/libqb-1.0.3+20190326.a521604.tar.xz b/libqb-1.0.3+20190326.a521604.tar.xz new file mode 100644 index 0000000..311b4c2 --- /dev/null +++ b/libqb-1.0.3+20190326.a521604.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c0bf9de0875194b230a48e7e26d117e63f0db1a2732d805af10e10a83e5550a +size 176344 diff --git a/libqb.changes b/libqb.changes index dbbfce9..aef3c4a 100644 --- a/libqb.changes +++ b/libqb.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 2 09:17:01 UTC 2019 - Yan Gao + +- Update to version 1.0.3+20190326.a521604: +- enable building / shipping of libqb-tests.rpm (bsc#1131328) + ------------------------------------------------------------------- Thu Feb 7 16:48:54 UTC 2019 - ygao@suse.com diff --git a/libqb.spec b/libqb.spec index 24d2c2a..ac15aea 100644 --- a/libqb.spec +++ b/libqb.spec @@ -17,9 +17,10 @@ %bcond_without check +%bcond_without testsrpm Name: libqb -Version: 1.0.3+20190115.c880fcf +Version: 1.0.3+20190326.a521604 Release: 0 Summary: An IPC library for high performance servers License: LGPL-2.1-or-later @@ -79,7 +80,11 @@ features. It provides logging, tracing, IPC, 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} @@ -121,4 +126,20 @@ rm -rf %{buildroot}%{_datadir}/doc %{_sbindir}/qb-blackbox %{_mandir}/man8/qb-blackbox.8.gz +%if %{with testsrpm} +%package tests +Summary: Test suite for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%files tests +%doc COPYING +%dir %{_libdir}/libqb +%dir %{_libdir}/libqb/tests +%{_libdir}/libqb/tests/* + +%description tests +The %{name}-tests package contains the %{name} test suite. +%endif + %changelog