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..b879c98 100644
--- a/libqb.changes
+++ b/libqb.changes
@@ -1,3 +1,17 @@
+-------------------------------------------------------------------
+Tue Apr 2 16:48:36 UTC 2019 - Jan Engelhardt
+
+- 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
+
+- 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..8a17180 100644
--- a/libqb.spec
+++ b/libqb.spec
@@ -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