diff options
author | Remi Collet <remi@remirepo.net> | 2021-03-17 08:32:51 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-03-17 08:32:51 +0100 |
commit | 4f5aeaa392ffb6a41595f235ce499bcf8facd0e9 (patch) | |
tree | acc37ff74fd107cafd30858808fbe9346ab7a799 /php-bartlett-php-compatinfo-db.spec | |
parent | 30935455acf468492dadd19b9584e581f365d728 (diff) |
use static proxy files to fix multi-users issue
https://github.com/llaville/php-compatinfo-db/issues/71
Diffstat (limited to 'php-bartlett-php-compatinfo-db.spec')
-rw-r--r-- | php-bartlett-php-compatinfo-db.spec | 9 |
1 files changed, 8 insertions, 1 deletions
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 <?php @@ -215,6 +217,7 @@ sed -e "s:%{_datadir}/php/%{ns_vendor}/%{ns_project}:$PWD/src:" \ bin/compatinfo-db >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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 3.4.2-1 - update to 3.4.2 |