summaryrefslogtreecommitdiffstats
path: root/php-bartlett-php-compatinfo-db.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-01-18 14:09:57 +0100
committerRemi Collet <remi@remirepo.net>2021-01-18 14:09:57 +0100
commita1d81d369f7e8db78b18942a44123debbbcadf9f (patch)
treeb76ebe67e0c189898204debeffac2456f2b90551 /php-bartlett-php-compatinfo-db.spec
parentd74ad09dfaf0c4117e2cff112c0d817f82730be5 (diff)
git snapshot
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 \