summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-11-30 07:55:44 +0100
committerRemi Collet <remi@php.net>2021-11-30 07:55:44 +0100
commit021a19688d6047358a5a9f94501154b82f458e07 (patch)
tree3d822f165d04af05b57fc314bb87a5ffda57e762
parent0a93c7f5d6d89028fcc4a66554eeba47b206f9eb (diff)
update to 2.11.0
raise dependency on pdepend 2.10.2
-rw-r--r--composer.json2
-rw-r--r--php-phpmd-PHP-PMD.spec31
2 files changed, 21 insertions, 12 deletions
diff --git a/composer.json b/composer.json
index c0345c1..5fe757d 100644
--- a/composer.json
+++ b/composer.json
@@ -36,7 +36,7 @@
"minimum-stability": "stable",
"require": {
"php": ">=5.3.9",
- "pdepend/pdepend": "^2.10.0",
+ "pdepend/pdepend": "^2.10.2",
"ext-xml": "*",
"composer/xdebug-handler": "^1.0 || ^2.0"
},
diff --git a/php-phpmd-PHP-PMD.spec b/php-phpmd-PHP-PMD.spec
index 7e04001..418e7a5 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 1bc74db7cf834662d83abebae265be11bb2eec3a
+%global gh_commit 3637949092e6471aeaeca66bc6c016f45e459e24
%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.10.2
+Version: 2.11.0
Release: 1%{?dist}
Summary: PHPMD - PHP Mess Detector
@@ -44,13 +44,15 @@ BuildArch: noarch
# "easy-doc/easy-doc": "0.0.0 || ^1.3.2"
BuildRequires: php-composer(phpunit/phpunit) >= 4.8.36
BuildRequires: php(language) >= 5.3.9
+# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(pdepend/pdepend) >= 2.10 with php-composer(pdepend/pdepend) < 3)
+BuildRequires: (php-composer(pdepend/pdepend) >= 2.10.2 with php-composer(pdepend/pdepend) < 3)
BuildRequires: (php-composer(composer/xdebug-handler) >= 1.0 with php-composer(composer/xdebug-handler) < 3)
BuildRequires: (php-composer(mikey179/vfsstream) >= 1.6.8 with php-composer(mikey179/vfsstream) < 2)
+# remirepo:8
%else
BuildRequires: php-composer(pdepend/pdepend) < 3
-BuildRequires: php-composer(pdepend/pdepend) >= 2.10
+BuildRequires: php-composer(pdepend/pdepend) >= 2.10.2
BuildRequires: php-composer(composer/xdebug-handler) < 3
BuildRequires: php-composer(composer/xdebug-handler) >= 1.0
BuildRequires: php-composer(mikey179/vfsstream) < 2
@@ -69,20 +71,22 @@ BuildRequires: php-composer(fedora/autoloader)
# From composer.json, "require": {
# "php": ">=5.3.9",
-# "pdepend/pdepend": "^2.10.0",
+# "pdepend/pdepend": "^2.10.2",
# "ext-xml": "*",
# "composer/xdebug-handler": "^1.0 || ^2.0"
Requires: php(language) >= 5.3.9
+Requires: php-xml
+# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-Requires: (php-composer(pdepend/pdepend) >= 2.10 with php-composer(pdepend/pdepend) < 3)
-Requires: (php-composer(composer/xdebug-handler) >= 1.0 with php-composer(composer/xdebug-handler) < 3)
+Requires: (php-composer(pdepend/pdepend) >= 2.10.2 with php-composer(pdepend/pdepend) < 3)
+Requires: (php-composer(composer/xdebug-handler) >= 1.0 with php-composer(composer/xdebug-handler) < 3)
+# remirepo:6
%else
Requires: php-composer(pdepend/pdepend) < 3
-Requires: php-composer(pdepend/pdepend) >= 2.10
+Requires: php-composer(pdepend/pdepend) >= 2.10.2
Requires: php-composer(composer/xdebug-handler) < 3
Requires: php-composer(composer/xdebug-handler) >= 1.0
%endif
-Requires: php-xml
# From phpcompatinfo report for version 2.9.0
Requires: php-reflection
Requires: php-date
@@ -151,7 +155,7 @@ require '%{buildroot}%{php_home}/autoload.php';
EOF
ret=0
-for cmd in php php73 php74 php80; do
+for cmd in php php74 php80 php81; do
if which $cmd; then
$cmd %{_bindir}/phpunit --columns max --verbose || ret=1
fi
@@ -170,10 +174,11 @@ fi
%files
+# remirepo:1
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc composer.json
-%doc CONTRIBUTING.md README.rst AUTHORS.rst
+%doc README.rst AUTHORS.rst
%doc CHANGELOG
%{php_home}
%{_datadir}/%{name}
@@ -181,6 +186,10 @@ fi
%changelog
+* Tue Nov 30 2021 Remi Collet <remi@remirepo.net> - 2.11.0-1
+- update to 2.11.0
+- raise dependency on pdepend 2.10.2
+
* Thu Jul 22 2021 Remi Collet <remi@remirepo.net> - 2.10.2-1
- update to 2.10.2
- raise dependency on pdepend 2.10