diff options
-rw-r--r-- | php-phpmyadmin-sql-parser5.spec | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/php-phpmyadmin-sql-parser5.spec b/php-phpmyadmin-sql-parser5.spec index 0136333..abc3bc3 100644 --- a/php-phpmyadmin-sql-parser5.spec +++ b/php-phpmyadmin-sql-parser5.spec @@ -9,7 +9,7 @@ %bcond_without tests -%global gh_commit 0f5895aab2b6002d00b6831b60983523dea30bff +%global gh_commit db1b3069b5dbc220d393d67ff911e0ae76732755 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phpmyadmin #global gh_date 20150820 @@ -19,7 +19,7 @@ %global major 5 Name: php-%{gh_owner}-%{gh_project}%{major} -Version: 5.7.0 +Version: 5.8.0 Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: A validating SQL lexer and parser with a focus on MySQL dialect @@ -34,9 +34,11 @@ BuildArch: noarch BuildRequires: gettext %if %{with tests} BuildRequires: php(language) >= 7.2 +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(phpmyadmin/motranslator) >= 5 with php-composer(phpmyadmin/motranslator) < 6) BuildRequires: (php-composer(symfony/polyfill-php80) >= 1.16 with php-composer(symfony/polyfill-php80) < 2) +# remirepo:4 %else BuildRequires: php-phpmyadmin-motranslator5 BuildRequires: php-symfony-polyfill @@ -72,9 +74,11 @@ BuildRequires: php-composer(fedora/autoloader) # "ext-mbstring": "For best performance", # "phpmyadmin/motranslator": "Translate messages to your favorite locale" Requires: php(language) >= 7.2 +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(phpmyadmin/motranslator) >= 5 with php-composer(phpmyadmin/motranslator) < 6) Requires: (php-composer(symfony/polyfill-php80) >= 1.16 with php-composer(symfony/polyfill-php80) < 2) +# remirepo:4 %else Requires: php-phpmyadmin-motranslator5 Requires: php-symfony-polyfill @@ -104,7 +108,7 @@ Autoloader: %{_datadir}/php/%{ns_vendor}/%{ns_project}%{major}/autoload.php %prep %setup -q -n %{gh_project}-%{gh_commit} -%patch0 -p0 -b .rpm +%patch -P0 -p0 -b .rpm find src -name \*rpm -exec rm {} \; : Create autoloader @@ -162,7 +166,7 @@ EOF sed -e 's:%{_datadir}/php:%{buildroot}%{_datadir}/php:' -i bin/*query ret=0 -for cmdarg in "php %{phpunit}" php80 php81 php82; do +for cmdarg in "php %{phpunit}" php80 php81 php82 php83; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit9} --no-coverage --verbose || ret=1 @@ -197,6 +201,9 @@ exit $ret %changelog +* Tue Jun 6 2023 Remi Collet <remi@remirepo.net> - 5.8.0-1 +- update to 5.8.0 + * Wed Jan 25 2023 Remi Collet <remi@remirepo.net> - 5.7.0-1 - update to 5.7.0 - raise dependency on PHP 7.2 |