summaryrefslogtreecommitdiffstats
path: root/php-phpmd-PHP-PMD.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-02-25 08:21:34 +0100
committerRemi Collet <remi@remirepo.net>2020-02-25 08:21:34 +0100
commitc4e1ef5e75d3d31ebf9949d626ed8f94636cc6bb (patch)
tree323c106a99a1efdd5f6170850a7f03e1036b5dff /php-phpmd-PHP-PMD.spec
parent630da9643ad6b55e1e90d474c877a3a50656b373 (diff)
update to 2.8.2
raise dependency on pdepend/pdepend version 2.7.1
Diffstat (limited to 'php-phpmd-PHP-PMD.spec')
-rw-r--r--php-phpmd-PHP-PMD.spec17
1 files changed, 11 insertions, 6 deletions
diff --git a/php-phpmd-PHP-PMD.spec b/php-phpmd-PHP-PMD.spec
index 133119d..91e04cf 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 5664b95d484797582f5af9536238deb9ecde58a1
+%global gh_commit 714629ed782537f638fe23c4346637659b779a77
%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.8.1
+Version: 2.8.2
Release: 1%{?dist}
Summary: PHPMD - PHP Mess Detector
@@ -43,7 +43,7 @@ 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.6 with php-composer(pdepend/pdepend) < 3)
+BuildRequires: (php-composer(pdepend/pdepend) >= 2.7.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)
%else
@@ -66,13 +66,13 @@ BuildRequires: php-composer(fedora/autoloader)
# From composer.json, "require": {
# "php": ">=5.3.9",
-# "pdepend/pdepend": "^2.6",
+# "pdepend/pdepend": "^2.7.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.6 with php-composer(pdepend/pdepend) < 3)
-Requires: (php-composer(composer/xdebug-handler) >= 1.0 with php-composer(composer/xdebug-handler) < 2)
+Requires: (php-composer(pdepend/pdepend) >= 2.7.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
Requires: php-composer(pdepend/pdepend) >= 2.6
@@ -114,6 +114,7 @@ cp %{SOURCE2} src/main/php/PHPMD/autoload.php
find src/main/php -name \*php -exec sed -e 's:@package_version@:%{version}:' -i {} \;
find src/test -type f -exec sed -e 's:@package_version@:%{version}:' -i {} \;
+sed -e '/project.version/s/2.8.1/%{version}/' -i build.properties
%build
@@ -176,6 +177,10 @@ fi
%changelog
+* Tue Feb 25 2020 Remi Collet <remi@remirepo.net> - 2.8.2-1
+- update to 2.8.2
+- raise dependency on pdepend/pdepend version 2.7.1
+
* Tue Jan 7 2020 Remi Collet <remi@remirepo.net> - 2.8.1-1
- update to 2.8.1
- raise dependency on pdepend/pdepend version 2.6