From 32f9735a0ccaa55380d89891c78de157b7a6c161 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 14 Nov 2023 16:23:18 +0100 Subject: update to 7.0.1 update bundled bartlett/php-compatinfo-db to 5.13.0 --- php-bartlett-PHP-CompatInfo.spec | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'php-bartlett-PHP-CompatInfo.spec') diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index f3ea6c6..eb249ef 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -11,18 +11,18 @@ %undefine __brp_mangle_shebangs %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 7b053000a684d1fa3840e0ab3c5833fecdf02dc3 +%global gh_commit c94491403ade577b5a1d6f0a460339394e039f3c %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20151005 %global gh_owner llaville %global gh_project php-compatinfo -%global upstream_version 7.0.0 +%global upstream_version 7.0.1 #global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 3%{?dist} +Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run # SPDX: see bundled libraries list below @@ -36,6 +36,8 @@ Source9: makesrc.sh # Relocate the database Patch0: %{name}-6.0.0-rpm.patch +# Allow PHP 8.3 +Patch1: %{name}-7.0.0-php83.patch BuildArch: noarch BuildRequires: php(language) >= 8.0 @@ -57,7 +59,7 @@ Requires: php-xmlreader # Bundled libraries # License BSD-3-Clause -Provides: bundled(php-bartlett-php-compatinfo-db) = 5.12.0 +Provides: bundled(php-bartlett-php-compatinfo-db) = 5.13.0 Provides: bundled(php-nikic-php-parser) = v4.17.1 # License MIT Provides: bundled(php-bartlett-sarif-php-sdk) = 1.0.1 @@ -123,6 +125,7 @@ show content of dictionary references. %prep %setup -q -n %{gh_project}-%{gh_commit} %patch -P0 -p1 -b .rpm +%patch -P1 -p1 # https://github.com/llaville/php-compatinfo-db/issues/112 sed -e 's/touch/@touch/' -i vendor/bartlett/php-compatinfo-db/config/set/default.php @@ -199,6 +202,14 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}/fedora- %changelog +* Tue Nov 14 2023 Remi Collet - 7.0.1-1 +- update to 7.0.1 +- update bundled bartlett/php-compatinfo-db to 5.13.0 + +* Mon Nov 13 2023 Remi Collet - 7.0.0-4 +- add missing file for PHP 8.3 reported as + https://github.com/llaville/php-compatinfo/issues/364 + * Mon Nov 13 2023 Remi Collet - 7.0.0-3 - update bundled bartlett/php-compatinfo-db to 5.12.0 -- cgit