summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-bartlett-php-compatinfo-db.spec19
1 files changed, 10 insertions, 9 deletions
diff --git a/php-bartlett-php-compatinfo-db.spec b/php-bartlett-php-compatinfo-db.spec
index 4abda60..2be4d9a 100644
--- a/php-bartlett-php-compatinfo-db.spec
+++ b/php-bartlett-php-compatinfo-db.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
# See https://github.com/llaville/php-compatinfo-db/releases
-%global gh_commit 804010338882ea49b9d985405481610cb8fa291d
+%global gh_commit 275f5b7a463194ebf22c733c786c0f40e50e6a00
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20151031
%global gh_owner llaville
@@ -26,7 +26,7 @@
%bcond_with tests
%endif
-%global upstream_version 3.5.0
+%global upstream_version 3.6.0
#global upstream_prever RC1
Name: php-%{c_vendor}-%{c_project}
@@ -45,8 +45,6 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
Patch0: %{name}-3.4-rpm.patch
# CURL_SSLVERSION constants have been backported
Patch1: %{name}-curltls.patch
-# CURL_VERSION_ALTSVC
-Patch2: %{name}-curl.patch
BuildArch: noarch
BuildRequires: php(language) >= 7.2
@@ -142,7 +140,6 @@ Conflicts: php-bartlett-PHP-CompatInfo < 5
%patch0 -p1 -b .rpm
%patch1 -p1 -b .curltls
-%patch2 -p1 -b .curl
: relocate
mv config src/config
@@ -223,7 +220,8 @@ doctrine orm:schema-tool:create
: Generate the references database
php -d memory_limit=2G -d date.timezone=Europe/Paris compatinfo-db db:init
-#php -d memory_limit=2G -d date.timezone=Europe/Paris compatinfo-db db:show xmlrpc
+: For debug (not installed)
+php -d memory_limit=2G -d date.timezone=Europe/Paris compatinfo-db doctor --json > doctor.json
: Diag
%{_bindir}/php -d date.timezone=Europe/Paris compatinfo-db diagnose
@@ -248,9 +246,6 @@ require_once '%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}/config/boot
\Fedora\Autoloader\Autoload::addPsr4('Bartlett\\CompatInfoDb\\Tests\\', dirname(__DIR__) . '/tests');
EOF
-# https://github.com/llaville/php-compatinfo-db/issues/70
-rm -rf tests/Reference/Extension/PhpBundle/Pcre
-
ret=0
%{_bindir}/phpunit9 \
--include-path %{buildroot}%{_datadir}/php \
@@ -273,6 +268,12 @@ exit $ret
%changelog
+* Fri May 14 2021 Remi Collet <remi@remirepo.net> - 3.6.0-1
+- update to 3.6.0
+
+* Tue May 11 2021 Remi Collet <remi@remirepo.net> - 3.6.0-0
+- test build for upcoming 3.6.0
+
* Mon May 3 2021 Remi Collet <remi@remirepo.net> - 3.5.0-1
- update to 3.5.0
- open https://github.com/llaville/php-compatinfo-db/issues/75 test failure