summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-CompatInfo.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-bartlett-PHP-CompatInfo.spec')
-rw-r--r--php-bartlett-PHP-CompatInfo.spec22
1 files changed, 13 insertions, 9 deletions
diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec
index 85cfcff..7d990d8 100644
--- a/php-bartlett-PHP-CompatInfo.spec
+++ b/php-bartlett-PHP-CompatInfo.spec
@@ -11,15 +11,15 @@
%undefine __brp_mangle_shebangs
%{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)}
-%global gh_commit 7353738b51e38b0763e2bf154d05c55ad2fdc105
+%global gh_commit e3b01295c0c46c3b751ef4a01dc41ad696815bc6
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20151005
%global gh_owner llaville
-%global gh_project php-compat-info
+%global gh_project php-compatinfo
#global prever RC2
%bcond_without tests
-%global upstream_version 5.5.3
+%global upstream_version 5.5.4
#global upstream_prever RC1
Name: php-bartlett-PHP-CompatInfo
@@ -36,7 +36,7 @@ Source1: fedora-review-check
# Autoload and config path
# avoid jean85/pretty-package-versions
-Patch0: %{name}-5.5.2-rpm.patch
+Patch0: %{name}-5.5.4-rpm.patch
BuildArch: noarch
BuildRequires: php(language) >= 7.2
@@ -87,7 +87,7 @@ BuildRequires: php-fedora-autoloader-devel
# "ext-pdo": "*",
# "ext-pdo_sqlite": "*",
# "bartlett/php-reflect": "^4.4",
-# "bartlett/php-compatinfo-db": "^3.4",
+# "bartlett/php-compatinfo-db": "^3.6",
# "doctrine/collections": "^1.4",
# "composer/package-versions-deprecated": "^1.8",
# "psr/log": "^1.0",
@@ -110,7 +110,7 @@ Requires: php-spl
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(bartlett/php-reflect) >= 4.4 with php-composer(bartlett/php-reflect) < 5)
-Requires: (php-composer(bartlett/php-compatinfo-db) >= 3.4 with php-composer(bartlett/php-compatinfo-db) < 4)
+Requires: (php-composer(bartlett/php-compatinfo-db) >= 3.6 with php-composer(bartlett/php-compatinfo-db) < 4)
Requires: (php-composer(psr/log) >= 1.0 with php-composer(psr/log) < 2)
Requires: (php-composer(ramsey/uuid) >= 4.0 with php-composer(ramsey/uuid) < 5)
Requires: (php-composer(symfony/config) >= 4.4 with php-composer(symfony/config) < 6)
@@ -124,7 +124,7 @@ Requires: (php-composer(doctrine/collections) >= 1.4 with php-comp
# remirepo:14
%else
Requires: php-bartlett-PHP-Reflect >= 4.4
-Requires: php-bartlett-php-compatinfo-db >= 3.4
+Requires: php-bartlett-php-compatinfo-db >= 3.6
Requires: php-PsrLog >= 1.0
Requires: php-ramsey-uuid >= 4.0
Requires: php-symfony4-config >= 4.4
@@ -203,7 +203,7 @@ mv config src/Bartlett/CompatInfo/config
# Check package version
FILE=src/Bartlett/CompatInfo/Console/Application.php
-sed -e 's/5.5.1/%{version}/' -i $FILE
+#sed -e 's/5.5.1/#{version}/' -i $FILE
grep " VERSION" $FILE
grep %{version} $FILE
@@ -235,7 +235,7 @@ sed -e 's:@BUILDPATH@:%{buildroot}%{_datadir}/php/Bartlett/CompatInfo:' \
-i tests/TestCase.php tests/Sniffs/SniffTestCase.php tests/Reference/ParameterTest.php
ret=0
-for cmdarg in "php %{phpunit}" php73 php74 php80; do
+for cmdarg in "php %{phpunit}" php74 php80 php81; do
if which $cmdarg; then
set $cmdarg
$1 ${2:-%{_bindir}/phpunit9} --verbose || ret=1
@@ -264,6 +264,10 @@ fi
%changelog
+* Fri Dec 10 2021 Remi Collet <remi@remirepo.net> - 5.5.4-1
+- update to 5.5.4
+- raise dependency on bartlett/php-compatinfo-db 3.6
+
* Mon May 3 2021 Remi Collet <remi@remirepo.net> - 5.5.3-1
- update to 5.5.3