summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-04-29 08:49:31 +0200
committerRemi Collet <remi@remirepo.net>2021-04-29 08:49:31 +0200
commit37427d53493cb4a963a91ae27acf57ff7f758f74 (patch)
treed1168c5bfea63ee12139a280d0aab4ae801fb74b
parenta58c26f325461fed9f5c1602848f9bbb6c7cc61c (diff)
update to 2.10.0
raise dependency on pdepend/pdepend version 2.9.1
-rw-r--r--composer.json4
-rw-r--r--php-phpmd-PHP-PMD.spec20
2 files changed, 14 insertions, 10 deletions
diff --git a/composer.json b/composer.json
index 3d9e796..184716d 100644
--- a/composer.json
+++ b/composer.json
@@ -36,14 +36,14 @@
"minimum-stability": "stable",
"require": {
"php": ">=5.3.9",
- "pdepend/pdepend": "^2.7.1",
+ "pdepend/pdepend": "^2.9.1",
"ext-xml": "*",
"composer/xdebug-handler": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36 || ^5.7.27",
"squizlabs/php_codesniffer": "^2.0",
- "mikey179/vfsstream": "^1.6.4",
+ "mikey179/vfsstream": "^1.6.8",
"gregwar/rst": "^1.0",
"ext-simplexml": "*",
"ext-json": "*",
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