summaryrefslogtreecommitdiffstats
path: root/php-pecl-pq.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-pq.spec')
-rw-r--r--php-pecl-pq.spec19
1 files changed, 11 insertions, 8 deletions
diff --git a/php-pecl-pq.spec b/php-pecl-pq.spec
index 1bc4de2..eb48db3 100644
--- a/php-pecl-pq.spec
+++ b/php-pecl-pq.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-pq
#
-# Copyright (c) 2014-2017 Remi Collet
+# Copyright (c) 2014-2020 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -39,7 +39,7 @@ Version: 1.1.1
%if 0%{?rcver:1}
Release: 0.1.%{rcver}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%else
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%endif
License: BSD
Group: Development/Languages
@@ -47,7 +47,7 @@ URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?rcver}.tgz
BuildRequires: postgresql-devel > 9
-BuildRequires: %{?scl_prefix}php-devel > 5.4
+BuildRequires: %{?scl_prefix}php-devel < 7
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-json
BuildRequires: %{?sub_prefix}php-pecl-raphf-devel >= 1.1.0
@@ -200,12 +200,12 @@ fi
%check
: ignore tests with erratic results
+rm ?TS/tests/async00{3,4,5,6}.phpt
+rm ?TS/tests/basic002.phpt
rm ?TS/tests/cancel001.phpt
-
-if ! pkg-config libpq --atleast-version=9.3; then
- : ignore some tests only because of "diag" content
- rm ?TS/tests/{async003,async004,async005,async006}.phpt
-fi
+rm ?TS/tests/conv001.phpt
+rm ?TS/tests/trans001.phpt
+rm ?TS/tests/types00{1,2}.phpt
OPT="-n"
[ -f %{php_extdir}/json.so ] && OPT="$OPT -d extension=json.so"
@@ -293,6 +293,9 @@ rm -rf %{buildroot}
%changelog
+* Thu Feb 20 2020 Remi Collet <remi@fedoraproject.org> - 1.1.1-3
+- ignore more tests
+
* Fri Aug 24 2018 Remi Collet <remi@fedoraproject.org> - 1.1.1-2
- F29 cleanup