summaryrefslogtreecommitdiffstats
path: root/php-phpmd-PHP-PMD.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpmd-PHP-PMD.spec')
-rw-r--r--php-phpmd-PHP-PMD.spec20
1 files changed, 12 insertions, 8 deletions
diff --git a/php-phpmd-PHP-PMD.spec b/php-phpmd-PHP-PMD.spec
index 57770cb..0fd7d46 100644
--- a/php-phpmd-PHP-PMD.spec
+++ b/php-phpmd-PHP-PMD.spec
@@ -7,7 +7,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit ce10831d4ddc2686c1348a98069771dd314534a8
+%global gh_commit 58ef9e746a1ab50ad3360d5d301e1229ed2612cb
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner phpmd
%global gh_project phpmd
@@ -18,7 +18,7 @@
%global with_tests 0%{!?_without_tests:1}
Name: php-phpmd-PHP-PMD
-Version: 2.9.1
+Version: 2.10.0
Release: 1%{?dist}
Summary: PHPMD - PHP Mess Detector
@@ -45,16 +45,16 @@ BuildArch: noarch
BuildRequires: php-composer(phpunit/phpunit) >= 4.8.36
BuildRequires: php(language) >= 5.3.9
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(pdepend/pdepend) >= 2.7.1 with php-composer(pdepend/pdepend) < 3)
+BuildRequires: (php-composer(pdepend/pdepend) >= 2.9.1 with php-composer(pdepend/pdepend) < 3)
BuildRequires: (php-composer(composer/xdebug-handler) >= 1.0 with php-composer(composer/xdebug-handler) < 2)
-BuildRequires: (php-composer(mikey179/vfsstream) >= 1.6.4 with php-composer(mikey179/vfsstream) < 2)
+BuildRequires: (php-composer(mikey179/vfsstream) >= 1.6.8 with php-composer(mikey179/vfsstream) < 2)
%else
BuildRequires: php-composer(pdepend/pdepend) < 3
BuildRequires: php-composer(pdepend/pdepend) >= 2.5
BuildRequires: php-composer(composer/xdebug-handler) < 2
BuildRequires: php-composer(composer/xdebug-handler) >= 1.0
BuildRequires: php-composer(mikey179/vfsstream) < 2
-BuildRequires: php-composer(mikey179/vfsstream) >= 1.6.4
+BuildRequires: php-composer(mikey179/vfsstream) >= 1.6.8
%endif
BuildRequires: php-reflection
BuildRequires: php-date
@@ -69,12 +69,12 @@ BuildRequires: php-composer(fedora/autoloader)
# From composer.json, "require": {
# "php": ">=5.3.9",
-# "pdepend/pdepend": "^2.7.1",
+# "pdepend/pdepend": "^2.9.1",
# "ext-xml": "*",
# "composer/xdebug-handler": "^1.0"
Requires: php(language) >= 5.3.9
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-Requires: (php-composer(pdepend/pdepend) >= 2.7.1 with php-composer(pdepend/pdepend) < 3)
+Requires: (php-composer(pdepend/pdepend) >= 2.9.1 with php-composer(pdepend/pdepend) < 3)
Requires: (php-composer(composer/xdebug-handler) >= 1.0 with php-composer(composer/xdebug-handler) < 2)
%else
Requires: php-composer(pdepend/pdepend) < 3
@@ -151,7 +151,7 @@ require '%{buildroot}%{php_home}/autoload.php';
EOF
ret=0
-for cmd in php php71 php72 php73 php74; do
+for cmd in php php73 php74 php80; do
if which $cmd; then
$cmd %{_bindir}/phpunit --columns max --verbose || ret=1
fi
@@ -181,6 +181,10 @@ fi
%changelog
+* Thu Apr 29 2021 Remi Collet <remi@remirepo.net> - 2.10.0-1
+- update to 2.10.0
+- raise dependency on pdepend/pdepend version 2.9.1
+
* Thu Sep 24 2020 Remi Collet <remi@remirepo.net> - 2.9.1-1
- update to 2.9.1