Accepting request 690890 from network:ha-clustering:Factory

- Drop manual requires from libqb-tests.
- Let libqb-devel depend on the exact package, libqb20 not just
  a virtual libqb provide.
- Drop redundant %if..%endif guards that do not affect the build.

- 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/690890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqb?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2019-04-05 09:55:08 +00:00 committed by Git OBS Bridge
commit 80e695fe88
5 changed files with 40 additions and 9 deletions

View File

@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/ClusterLabs/libqb.git</param>
<param name="changesrevision">c880fcfd8d67d707c2de8bba5099230605f0f9bc</param>
<param name="changesrevision">a5216040d337521c1c8ae7bb7ceb1846c7042505</param>
</service>
</servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c8d446e494453c62e40be705635c8a6c45df30424257eb18e75a62368515aed0
size 176080

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c0bf9de0875194b230a48e7e26d117e63f0db1a2732d805af10e10a83e5550a
size 176344

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Apr 2 16:48:36 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Drop manual requires from libqb-tests.
- Let libqb-devel depend on the exact package, libqb20 not just
a virtual libqb provide.
- Drop redundant %if..%endif guards that do not affect the build.
-------------------------------------------------------------------
Tue Apr 2 09:17:01 UTC 2019 - Yan Gao <ygao@suse.com>
- 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

View File

@ -12,14 +12,15 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%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
@ -48,7 +49,6 @@ features. It provides logging, tracing, IPC, and polling.
%package -n libqb20
Summary: An IPC library for high performance servers
Group: System/Libraries
Provides: %{name} = %{version}-%{release}
%description -n libqb20
libqb is a library providing high performance client server reusable
@ -57,7 +57,7 @@ features. It provides logging, tracing, IPC, and polling.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}-%{release}
Requires: libqb20 = %{version}-%{release}
%description devel
libqb is a library providing high performance client server reusable
@ -79,7 +79,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 +125,17 @@ rm -rf %{buildroot}%{_datadir}/doc
%{_sbindir}/qb-blackbox
%{_mandir}/man8/qb-blackbox.8.gz
%package tests
Summary: Test suite for %{name}
Group: Development/Tools/Other
%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.
%changelog