From 4f5aeaa392ffb6a41595f235ce499bcf8facd0e9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 17 Mar 2021 08:32:51 +0100 Subject: use static proxy files to fix multi-users issue https://github.com/llaville/php-compatinfo-db/issues/71 --- php-bartlett-php-compatinfo-db.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-bartlett-php-compatinfo-db.spec') diff --git a/php-bartlett-php-compatinfo-db.spec b/php-bartlett-php-compatinfo-db.spec index 0574765..8bfb5bb 100644 --- a/php-bartlett-php-compatinfo-db.spec +++ b/php-bartlett-php-compatinfo-db.spec @@ -31,7 +31,7 @@ Name: php-%{c_vendor}-%{c_project} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Reference Database to be used with php-compatinfo library License: BSD @@ -41,6 +41,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit # Fix autoloader and config path # Fix sqlite database path # Fix version and avoir composer/package-versions-deprecated (relying on composer.lock) +# Set proxy files as static Patch0: %{name}-3.4-rpm.patch # CURL_SSLVERSION constants have been backported Patch1: %{name}-curltls.patch @@ -144,6 +145,7 @@ Conflicts: php-bartlett-PHP-CompatInfo < 5 : relocate mv config src/config +mkdir src/proxies cat << 'EOF' | tee src/autoload.php compatinfo-db export DATABASE_URL=sqlite:///${PWD}/compatinfo.sqlite +doctrine orm:generate-proxies doctrine orm:schema-tool:create : Generate the references database @@ -269,6 +272,10 @@ exit $ret %changelog +* Wed Mar 17 2021 Remi Collet - 3.4.2-2 +- use static proxy files to fix multi-users issue + https://github.com/llaville/php-compatinfo-db/issues/71 + * Mon Mar 15 2021 Remi Collet - 3.4.2-1 - update to 3.4.2 -- cgit