summaryrefslogtreecommitdiffstats
path: root/php-bartlett-php-compatinfo-db.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-bartlett-php-compatinfo-db.spec')
-rw-r--r--php-bartlett-php-compatinfo-db.spec11
1 files changed, 4 insertions, 7 deletions
diff --git a/php-bartlett-php-compatinfo-db.spec b/php-bartlett-php-compatinfo-db.spec
index 70acce6..33c54e6 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 ad60cc8fad669063527c5754cc535ef509520aeb
+%global gh_commit 26d04a01cedc0238b28a238ebb54364474313b09
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20151031
%global gh_owner llaville
@@ -44,8 +44,6 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
Patch0: %{name}-3-rpm.patch
# CURL_SSLVERSION constants have been backported
Patch1: %{name}-curltls.patch
-# Upstream
-Patch2: %{name}-upstream.patch
# upstream patches
@@ -143,7 +141,6 @@ Conflicts: php-bartlett-PHP-CompatInfo < 5
%patch0 -p1 -b .rpm
%patch1 -p0 -b .curltls
-%patch2 -p1 -b .up
: relocate
mv config src/config
@@ -221,13 +218,13 @@ export DATABASE_URL=sqlite:///${PWD}/compatinfo.sqlite
doctrine orm:schema-tool:create
: Generate the references database
-%{_bindir}/php -d memory_limit=1G -d date.timezone=Europe/Paris compatinfo-db db:init
+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
: Diag
%{_bindir}/php -d date.timezone=Europe/Paris compatinfo-db diagnose
-
%install
mkdir -p %{buildroot}%{_datadir}/php/%{ns_vendor}
cp -pr src %{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}
@@ -247,7 +244,7 @@ require_once '%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}/autoload.ph
EOF
# https://github.com/llaville/php-compatinfo-db/issues/63
-rm -r tests/Reference/Extension/PhpPecl/Http
+# rm -r tests/Reference/Extension/PhpPecl/Http
ret=0
%{_bindir}/phpunit9 \