From 9482bd2f2fcbc63ec1e1a78cb307bb33eb96252a Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Aug 27 2018 13:55:50 +0000 Subject: full testsuite against live PostgreSQL Version: 4.0.1-16 --- diff --git a/libpqxx.spec b/libpqxx.spec index 17a7f73..ef955dd 100644 --- a/libpqxx.spec +++ b/libpqxx.spec @@ -3,7 +3,7 @@ Name: libpqxx Summary: C++ client API for PostgreSQL Epoch: 1 Version: 4.0.1 -Release: 15%{?dist} +Release: 16%{?dist} License: BSD URL: http://pqxx.org/ @@ -18,6 +18,7 @@ BuildRequires: postgresql-devel BuildRequires: pkgconfig BuildRequires: python2 BuildRequires: python2-rpm-macros +BuildRequires: postgresql-test-rpm-macros %description C++ client API for PostgreSQL. The standard front-end (in the sense of @@ -68,7 +69,8 @@ rm -fv %{buildroot}%{_libdir}/lib*.la %check # FIXME: most/all fail, need already-running postgresql instance? -%make_build check ||: +%postgresql_tests_run +%make_build check %ldconfig_scriptlets @@ -90,6 +92,9 @@ rm -fv %{buildroot}%{_libdir}/lib*.la %changelog +* Mon Aug 27 2018 Pavel Raiskup - 4.0.1-16 +- don't ignore testsuite failures, run it against live PostgreSQL server + * Fri Jul 20 2018 Rex Dieter - 1:4.0.1-15 - fix calls to /usr/bin/python (#1604643)